summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_mouse.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-09-06 16:56:07 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-09-06 16:56:51 -0400
commit73fe0e4b97df72b64e8dd4614d6257815e8e4080 (patch)
treedd3c89a50cbfc4313112379318bf3628c98a3a5c /gtk2_ardour/editor_mouse.cc
parent8bef7623eb3bc866a8c17b5e336a57c817ba458a (diff)
use moved version of reset_focus()
Diffstat (limited to 'gtk2_ardour/editor_mouse.cc')
-rw-r--r--gtk2_ardour/editor_mouse.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_mouse.cc b/gtk2_ardour/editor_mouse.cc
index 01cb2175c1..3e463373d1 100644
--- a/gtk2_ardour/editor_mouse.cc
+++ b/gtk2_ardour/editor_mouse.cc
@@ -47,6 +47,7 @@
#include "ardour/types.h"
#include "actions.h"
+#include "ardour_ui.h"
#include "editor.h"
#include "time_axis_view.h"
#include "audio_time_axis.h"
@@ -2510,7 +2511,7 @@ Editor::escape ()
selection->clear ();
}
- reset_focus (&contents());
+ ARDOUR_UI::instance()->reset_focus (&contents());
}
/** Update _join_object_range_state which indicate whether we are over the top