Keep Dialogs which report process around.

Since 5.8-245-g3e43585fa, a response hides the dialog Window
in ArdourDialog::on_response (to prevent dialogs windows staying
around unresponsively while Ardour does background work).
This logic does not apply to Dialog Windows which implement
ProgressReporter or support dialog responses other than OK, Close.
This commit is contained in:
Robin Gareus 2017-04-20 19:03:52 +02:00
parent b6c222555f
commit 39c2b544f0
8 changed files with 32 additions and 0 deletions

View file

@ -189,6 +189,10 @@ public:
ExportReport (const std::string & title, const ARDOUR::AnalysisResults & ar);
int run ();
void on_response (int response_id) {
Gtk::Dialog::on_response (response_id);
}
private:
void init (const ARDOUR::AnalysisResults &, bool);
void draw_waveform (Cairo::RefPtr<Cairo::ImageSurface>& wave,