When in smart-mode, don't switch to range-mode after "set range selection"

closes #7332
This commit is contained in:
Robin Gareus 2017-04-28 14:57:13 +02:00
parent a8b545661f
commit 3cda0e2a93

View File

@ -1728,7 +1728,9 @@ Editor::set_selection_from_region ()
selection->set (tvl);
set_mouse_mode (Editing::MouseRange, false);
if (!get_smart_mode () || !mouse_mode == Editing::MouseObject) {
set_mouse_mode (Editing::MouseRange, false);
}
}
void