update_time_selection_display should work when in smart mode
This commit is contained in:
parent
e66752cec1
commit
2bbef1f32e
|
@ -353,20 +353,13 @@ Editor::mouse_mode_toggled (MouseMode m)
|
||||||
void
|
void
|
||||||
Editor::update_time_selection_display ()
|
Editor::update_time_selection_display ()
|
||||||
{
|
{
|
||||||
if (smart_mode_action->get_active()) {
|
switch (mouse_mode) {
|
||||||
/* not sure what to do here */
|
case MouseRange:
|
||||||
if (mouse_mode == MouseObject) {
|
selection->clear_objects ();
|
||||||
} else {
|
break;
|
||||||
}
|
default:
|
||||||
} else {
|
selection->clear_time ();
|
||||||
switch (mouse_mode) {
|
break;
|
||||||
case MouseRange:
|
|
||||||
selection->clear_objects ();
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
selection->clear_time ();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user