Merge branch 'stable-0.4' of github.com:LMMS/lmms into stable-0.4

This commit is contained in:
Tobias Doerffel
2014-01-17 19:34:54 +01:00
2 changed files with 24 additions and 5 deletions

View File

@@ -52,9 +52,7 @@ public:
inline bool hasAutomation() const
{
return m_autoPattern != NULL &&
!typeInfo<float>::isEqual(
m_autoPattern->getTimeMap()[0],
defaultValue() );
m_autoPattern->getTimeMap().isEmpty() == false;
}
AutomationPattern * automationPattern()