make Escape (cancel drag or selection) work in mixer as well as editor

This commit is contained in:
Paul Davis 2016-05-21 08:34:09 -04:00
parent 791d0196d6
commit 4cd6d52013
8 changed files with 35 additions and 4 deletions

View file

@ -804,6 +804,10 @@ Editor::Editor ()
BasicUI::AccessAction.connect (*this, invalidator (*this), boost::bind (&Editor::access_action, this, _1, _2), gui_context());
/* handle escape */
ARDOUR_UI::instance()->Escape.connect (*this, invalidator (*this), boost::bind (&Editor::escape, this), gui_context());
/* problematic: has to return a value and thus cannot be x-thread */
Session::AskAboutPlaylistDeletion.connect_same_thread (*this, boost::bind (&Editor::playlist_deletion_dialog, this, _1));