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

@ -50,6 +50,10 @@ class TranscodeVideoDialog : public ArdourDialog , public PBD::ScopedConnectionL
VtlTranscodeOption import_option ();
bool detect_ltc () { return ltc_detect.get_active (); }
void on_response (int response_id) {
Gtk::Dialog::on_response (response_id);
}
private:
void on_show ();
void open_browse_dialog ();