don't allow to change export settings once export has started #6780

This commit is contained in:
Robin Gareus 2016-02-27 12:51:33 +01:00
parent 4fec1dc088
commit d95f2e98df

View file

@ -300,6 +300,8 @@ ExportDialog::do_export ()
void void
ExportDialog::show_progress () ExportDialog::show_progress ()
{ {
export_notebook.set_sensitive (false);
cancel_button->set_label (_("Stop Export")); cancel_button->set_label (_("Stop Export"));
export_button->set_sensitive (false); export_button->set_sensitive (false);
@ -339,6 +341,7 @@ ExportDialog::show_progress ()
} else { } else {
notify_errors (); notify_errors ();
} }
export_notebook.set_sensitive (true);
} }
gint gint