mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
no need to lookup smart mode action, it is cached
This commit is contained in:
parent
6ed9835677
commit
f1e7ab08c7
1 changed files with 3 additions and 4 deletions
|
|
@ -2575,11 +2575,10 @@ Editor::set_state (const XMLNode& node, int version)
|
|||
yn = false;
|
||||
node.get_property ("join-object-range", yn);
|
||||
{
|
||||
RefPtr<ToggleAction> tact = ActionManager::get_toggle_action (X_("MouseMode"), X_("set-mouse-mode-object-range"));
|
||||
/* do it twice to force the change */
|
||||
tact->set_active (!yn);
|
||||
tact->set_active (yn);
|
||||
set_mouse_mode(mouse_mode, true);
|
||||
smart_mode_action->set_active (!yn);
|
||||
smart_mode_action->set_active (yn);
|
||||
set_mouse_mode (mouse_mode, true);
|
||||
}
|
||||
|
||||
EditPoint ep;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue