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:
parent
b38e81d261
commit
bcab83205b
@ -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;
|
||||
|
@ -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 ()
|
||||
{
|
||||
|
@ -59,6 +59,7 @@ class RhythmFerret : public ArdourDialog {
|
||||
RhythmFerret (Editor&);
|
||||
|
||||
void set_session (ARDOUR::Session*);
|
||||
void on_response (int);
|
||||
|
||||
protected:
|
||||
void on_hide ();
|
||||
|
Loading…
Reference in New Issue
Block a user