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:
@@ -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"))) {
|
||||
|
||||
Reference in New Issue
Block a user