mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 12:45:45 +01:00
make Escape (cancel drag or selection) work in mixer as well as editor
This commit is contained in:
parent
791d0196d6
commit
4cd6d52013
8 changed files with 35 additions and 4 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue