13
0

Fix uninitialised variable.

git-svn-id: svn://localhost/ardour2/branches/3.0@5488 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-08-04 18:19:40 +00:00
parent ce3ca76f96
commit 9bada9c946

View File

@ -301,6 +301,9 @@ Editor::set_mouse_mode (MouseMode m, bool force)
Glib::RefPtr<ToggleAction> tact = Glib::RefPtr<ToggleAction>::cast_dynamic (act); Glib::RefPtr<ToggleAction> tact = Glib::RefPtr<ToggleAction>::cast_dynamic (act);
assert (tact); assert (tact);
/* go there and back to ensure that the toggled handler is called to set up mouse_mode */
tact->set_active (false);
tact->set_active (true); tact->set_active (true);
} }