From 5b2570def529ee9402679edc134307da4dc59430 Mon Sep 17 00:00:00 2001 From: Hyunjin Song Date: Sun, 6 Jun 2021 11:27:58 +0900 Subject: [PATCH] Revert "Fix validPattern to check if hasAutomation as well (#5124)" (#6041) This reverts commit e37f3793f381d84658c9dafd115f8c10bcba9c1a. --- include/AutomationEditor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/AutomationEditor.h b/include/AutomationEditor.h index fb9586c60..e11600c71 100644 --- a/include/AutomationEditor.h +++ b/include/AutomationEditor.h @@ -70,7 +70,7 @@ public: inline bool validPattern() const { - return m_pattern != nullptr && m_pattern->hasAutomation(); + return m_pattern != nullptr; } void saveSettings(QDomDocument & doc, QDomElement & parent) override;