Skip to content

Commit

Permalink
Revert "Fix validPattern to check if hasAutomation as well (#5124)" (#…
Browse files Browse the repository at this point in the history
…6041)

This reverts commit e37f379.
  • Loading branch information
PhysSong authored Jun 6, 2021
1 parent 726fae2 commit 5b2570d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/AutomationEditor.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class AutomationEditor : public QWidget, public JournallingObject

inline bool validPattern() const
{
return m_pattern != nullptr && m_pattern->hasAutomation();
return m_pattern != nullptr;
}

void saveSettings(QDomDocument & doc, QDomElement & parent) override;
Expand Down

0 comments on commit 5b2570d

Please sign in to comment.