projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e66752c
)
update_time_selection_display should work when in smart mode
author
Ben Loftis
<ben@harrisonconsoles.com>
Tue, 9 Dec 2014 22:18:30 +0000
(16:18 -0600)
committer
Ben Loftis
<ben@harrisonconsoles.com>
Tue, 9 Dec 2014 22:18:48 +0000
(16:18 -0600)
gtk2_ardour/editor_mouse.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor_mouse.cc
b/gtk2_ardour/editor_mouse.cc
index 95cea7e44aa9fd10c67454faf2ce48f78c753ea7..f28b5b81d12208911190482e0b463e8fd4497e44 100644
(file)
--- a/
gtk2_ardour/editor_mouse.cc
+++ b/
gtk2_ardour/editor_mouse.cc
@@
-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;
}
}