[Summary] Force WavesDialog hide itself in on_response(). Fixed bugs #44333, #45169.

[Feature reviewed] MKosharnyy
[Reviewed] VKamyshniy
This commit is contained in:
Nikolay 2015-01-26 17:56:25 +02:00
parent b5572bf605
commit cb9c347bd0
2 changed files with 8 additions and 0 deletions

View file

@ -147,3 +147,9 @@ WavesDialog::on_delete_event (GdkEventAny*)
hide ();
return false;
}
void
WavesDialog::on_response(int response_id)
{
hide ();
}

View file

@ -51,6 +51,7 @@ class WavesDialog : public Gtk::Dialog, public ARDOUR::SessionHandlePtr, public
bool on_key_press_event (GdkEventKey*);
void on_show ();
bool on_delete_event (GdkEventAny*);
enum {
// We need one smaller then smallest Gtk::RESPONSE_*
@ -58,6 +59,7 @@ class WavesDialog : public Gtk::Dialog, public ARDOUR::SessionHandlePtr, public
};
protected:
void on_response(int response_id);
private: