mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
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
3 changed files with 8 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ public:
|
||||||
bool on_delete_event (GdkEventAny*);
|
bool on_delete_event (GdkEventAny*);
|
||||||
void on_unmap ();
|
void on_unmap ();
|
||||||
void on_show ();
|
void on_show ();
|
||||||
void on_response (int);
|
virtual void on_response (int);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
WM::ProxyTemporary* proxy;
|
WM::ProxyTemporary* proxy;
|
||||||
|
|
|
||||||
|
|
@ -172,6 +172,12 @@ RhythmFerret::RhythmFerret (Editor& e)
|
||||||
analysis_mode_changed ();
|
analysis_mode_changed ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
RhythmFerret::on_response (int response_id)
|
||||||
|
{
|
||||||
|
Gtk::Dialog::on_response (response_id);
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
RhythmFerret::analysis_mode_changed ()
|
RhythmFerret::analysis_mode_changed ()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -59,6 +59,7 @@ class RhythmFerret : public ArdourDialog {
|
||||||
RhythmFerret (Editor&);
|
RhythmFerret (Editor&);
|
||||||
|
|
||||||
void set_session (ARDOUR::Session*);
|
void set_session (ARDOUR::Session*);
|
||||||
|
void on_response (int);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void on_hide ();
|
void on_hide ();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue