export dialog updates ui when done

This commit is contained in:
itsmattkc
2018-12-14 22:19:52 +11:00
parent e85d771af0
commit 6b8168dc6a
4 changed files with 224 additions and 210 deletions
+2 -2
View File
@@ -313,8 +313,7 @@ void ExportDialog::on_formatCombobox_currentIndexChanged(int index)
ui->audioGroupbox->setEnabled(audio_enabled);
}
void ExportDialog::on_pushButton_2_clicked()
{
void ExportDialog::on_pushButton_2_clicked() {
close();
}
@@ -325,6 +324,7 @@ void ExportDialog::render_thread_finished() {
prep_ui_for_render(false);
panel_sequence_viewer->viewer_widget->makeCurrent();
panel_sequence_viewer->viewer_widget->initializeGL();
update_ui(false);
if (ui->progressBar->value() == 100) close();
}