diff options
author | Robin Gareus <robin@gareus.org> | 2017-04-20 19:03:52 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-04-20 19:03:52 +0200 |
commit | 39c2b544f034f7289a8efdeed6817dd2ef8a5bea (patch) | |
tree | 1ac04d62760171daa7628218b34a52fdbf6c4b43 /gtk2_ardour/transcode_video_dialog.h | |
parent | b6c222555f33fdab72a0d823d77faa24246a83d6 (diff) |
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.
Diffstat (limited to 'gtk2_ardour/transcode_video_dialog.h')
-rw-r--r-- | gtk2_ardour/transcode_video_dialog.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/transcode_video_dialog.h b/gtk2_ardour/transcode_video_dialog.h index 9acd1284a5..db3aba9739 100644 --- a/gtk2_ardour/transcode_video_dialog.h +++ b/gtk2_ardour/transcode_video_dialog.h @@ -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 (); |