Keep the RhythmFerret dialog window around after using an action.

Since 5.8-245-g3e43585fa, a response hides the dialog Window
in ArdourDialog::on_response (to prevent dialogs windows staying
around unresponsive while Ardour does background work).

The RF is special, and also the only dialog using explicit
add_action_widget().
This commit is contained in:
Robin Gareus 2017-04-07 00:29:02 +02:00
parent b38e81d261
commit bcab83205b
3 changed files with 8 additions and 1 deletions

View File

@ -47,7 +47,7 @@ public:
bool on_delete_event (GdkEventAny*);
void on_unmap ();
void on_show ();
void on_response (int);
virtual void on_response (int);
private:
WM::ProxyTemporary* proxy;

View File

@ -172,6 +172,12 @@ RhythmFerret::RhythmFerret (Editor& e)
analysis_mode_changed ();
}
void
RhythmFerret::on_response (int response_id)
{
Gtk::Dialog::on_response (response_id);
}
void
RhythmFerret::analysis_mode_changed ()
{

View File

@ -59,6 +59,7 @@ class RhythmFerret : public ArdourDialog {
RhythmFerret (Editor&);
void set_session (ARDOUR::Session*);
void on_response (int);
protected:
void on_hide ();