13
0

update_time_selection_display should work when in smart mode

This commit is contained in:
Ben Loftis 2014-12-09 16:18:30 -06:00
parent e66752cec1
commit 2bbef1f32e

View File

@ -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;
}
} }
} }