mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 21:55:43 +01:00
switch to WM::Proxy Action management
fixes http://tracker.ardour.org/view.php?id=5584
This commit is contained in:
parent
bce09c06b9
commit
fbdae25bed
1 changed files with 2 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue