projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce3ca76
)
Fix uninitialised variable.
author
Carl Hetherington
<carl@carlh.net>
Tue, 4 Aug 2009 18:19:40 +0000
(18:19 +0000)
committer
Carl Hetherington
<carl@carlh.net>
Tue, 4 Aug 2009 18:19:40 +0000
(18:19 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@5488
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/editor_mouse.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor_mouse.cc
b/gtk2_ardour/editor_mouse.cc
index aea06d6410686f0a3ee2a42779e44135c3d12559..1a0cd75ba2fdc8128947d6d62e23fa24c7b39e4b 100644
(file)
--- a/
gtk2_ardour/editor_mouse.cc
+++ b/
gtk2_ardour/editor_mouse.cc
@@
-301,6
+301,9
@@
Editor::set_mouse_mode (MouseMode m, bool force)
Glib::RefPtr<ToggleAction> tact = Glib::RefPtr<ToggleAction>::cast_dynamic (act);
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);
}