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
Editor::update_time_selection_display ()
{
if (smart_mode_action->get_active()) {
/* not sure what to do here */
if (mouse_mode == MouseObject) {
} else {
}
} else {
switch (mouse_mode) {
case MouseRange:
selection->clear_objects ();
break;
default:
selection->clear_time ();
break;
}
switch (mouse_mode) {
case MouseRange:
selection->clear_objects ();
break;
default:
selection->clear_time ();
break;
}
}