13
0

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.
This commit is contained in:
David Robillard 2015-01-12 02:31:27 -05:00
parent 305af7a5ce
commit c5252599bc

View File

@ -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"))) {