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:
Paul Davis 2021-04-26 10:50:30 -06:00
parent cce41ee15b
commit fc9a4754bc
2 changed files with 16 additions and 0 deletions

View file

@ -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 ();