Fix displaying of notes in auto-created MIDI region when it's the first region in...
[ardour.git] / gtk2_ardour / ardour_ui.cc
index 962ada5035e787efcdb9ebdc4455aa6518b26e05..491939bd97663d86ac927d63c861acc565412e8b 100644 (file)
@@ -296,14 +296,14 @@ ARDOUR_UI::post_engine ()
        MIDI::Manager::instance()->set_api_data (engine->jack());
        setup_midi ();
 
-       check_memory_locking();
-
-               ActionManager::init ();
+       ActionManager::init ();
        _tooltips.enable();
 
        if (setup_windows ()) {
                throw failed_constructor ();
        }
+       
+       check_memory_locking();
 
        /* this is the first point at which all the keybindings are available */