mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
allow <PRIMARY>-w to close the preferences window, just other dialogs
Preferences is a tabbable, a leftover artifact of when it was, in fact, intended to be a tabbable. Rather than re-engineer this right now, add a key event handler so that Primary-w works for this just like other dialogs
This commit is contained in:
parent
cce41ee15b
commit
fc9a4754bc
2 changed files with 16 additions and 0 deletions
|
|
@ -46,6 +46,8 @@ public:
|
|||
Gtk::Window* use_own_window (bool and_fill_it);
|
||||
XMLNode& get_state ();
|
||||
|
||||
bool on_key_release_event (GdkEventKey*);
|
||||
|
||||
private:
|
||||
void parameter_changed (std::string const &);
|
||||
void ltc_generator_volume_changed ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue