13
0

switch to WM::Proxy Action management

fixes http://tracker.ardour.org/view.php?id=5584
This commit is contained in:
Robin Gareus 2013-07-14 18:34:36 +02:00
parent 2106a12edd
commit 897f6ae356

View File

@ -617,11 +617,10 @@ ARDOUR_UI::click_button_clicked (GdkEventButton* ev)
return false;
}
RefPtr<Action> act = ActionManager::get_action (X_("Common"), X_("ToggleRCOptionsEditor"));
RefPtr<Action> act = ActionManager::get_action (X_("Window"), X_("toggle-rc-options-editor"));
assert (act);
RefPtr<ToggleAction> tact = RefPtr<ToggleAction>::cast_dynamic (act);
tact->set_active ();
act->activate();
rc_option_editor->set_current_page (_("Misc"));
return true;