Fix validPattern to check if hasAutomation as well (#5124)

This commit is contained in:
Kevin Zander
2020-07-29 13:26:20 -05:00
committed by GitHub
parent cbb1ec9a56
commit e37f3793f3

View File

@@ -70,7 +70,7 @@ public:
inline bool validPattern() const
{
return m_pattern != nullptr;
return m_pattern != nullptr && m_pattern->hasAutomation();
}
void saveSettings(QDomDocument & doc, QDomElement & parent) override;