More Automation refactoring

This commit is contained in:
Lukas W
2014-12-17 11:34:57 +01:00
parent 11cb8b5d68
commit 657fb06c49
9 changed files with 64 additions and 88 deletions

View File

@@ -33,6 +33,8 @@
#include "MainWindow.h"
#include "StringPairDrag.h"
#include "AutomationEditor.h"
AutomatableModelView::AutomatableModelView( ::Model* model, QWidget* _this ) :
@@ -224,7 +226,9 @@ void AutomatableModelViewSlots::removeConnection()
void AutomatableModelViewSlots::editSongGlobalAutomation()
{
AutomationPattern::globalAutomationPattern( m_amv->modelUntyped() )->openInAutomationEditor();
Engine::automationEditor()->open(
AutomationPattern::globalAutomationPattern(m_amv->modelUntyped())
);
}