From c5252599bc958b3adba0b59223ce86ed227504b1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 12 Jan 2015 02:31:27 -0500 Subject: [PATCH] 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. --- gtk2_ardour/selection_memento.cc | 2 -- 1 file changed, 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"))) {