summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_selection.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-11-16 14:53:16 +0000
committerCarl Hetherington <carl@carlh.net>2010-11-16 14:53:16 +0000
commit8fc660e76e50920d744942c241275849b7b9720e (patch)
tree3cccf87a1f913822f812e9d3f4a44d06d39278fb /gtk2_ardour/editor_selection.cc
parent840a81a0e452b39ee7e8c32484c12c3a53ce8172 (diff)
Move mouse cursor stuff out of Editor into its own class.
git-svn-id: svn://localhost/ardour2/branches/3.0@8048 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_selection.cc')
-rw-r--r--gtk2_ardour/editor_selection.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc
index ca3197c533..0a7ad1958c 100644
--- a/gtk2_ardour/editor_selection.cc
+++ b/gtk2_ardour/editor_selection.cc
@@ -36,6 +36,7 @@
#include "automation_line.h"
#include "control_point.h"
#include "editor_regions.h"
+#include "editor_cursors.h"
#include "i18n.h"
@@ -1482,7 +1483,7 @@ Editor::select_all_selectables_using_cursor (EditorCursor *cursor, bool after)
if (after) {
begin_reversible_command (_("select all after cursor"));
- start = cursor->current_frame ;
+ start = cursor->current_frame;
end = _session->current_end_frame();
} else {
if (cursor->current_frame > 0) {