summaryrefslogtreecommitdiff
path: root/gtk2_ardour/selection_memento.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-01-12 02:31:27 -0500
committerDavid Robillard <d@drobilla.net>2015-01-12 02:31:27 -0500
commitc5252599bc958b3adba0b59223ce86ed227504b1 (patch)
treebb56735bde37dca4f506c66554669e1af989504d /gtk2_ardour/selection_memento.cc
parent305af7a5ceaf650972c991022f5860872cc4ab06 (diff)
Don't default to grab mode when undoing selection.
I'm not sure how/why this ever happens, but it does, switching the tool when it shouldn't, which is annoying. I'm also not sure if this fallback is necessary for some reason, but it seems to work fine without for me.
Diffstat (limited to 'gtk2_ardour/selection_memento.cc')
-rw-r--r--gtk2_ardour/selection_memento.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk2_ardour/selection_memento.cc b/gtk2_ardour/selection_memento.cc
index 67e527b07f..c190d7e6ae 100644
--- a/gtk2_ardour/selection_memento.cc
+++ b/gtk2_ardour/selection_memento.cc
@@ -62,8 +62,6 @@ SelectionMemento::set_state (const XMLNode& node, int /*version*/) {
if ((prop = node.property ("mouse-mode"))) {
Editing::MouseMode m = Editing::str2mousemode(prop->value());
editor.set_mouse_mode (m, true);
- } else {
- editor.set_mouse_mode (Editing::MouseObject, true);
}
if ((prop = node.property ("zoom"))) {