Added case of a slicing cancellation

This commit is contained in:
YuSanka 2019-03-08 15:40:28 +01:00
parent 95ca670efb
commit 063d812d64

View file

@ -2458,7 +2458,12 @@ void Plater::priv::on_process_completed(wxCommandEvent &evt)
break;
}
if (wxGetApp().get_mode() == comSimple)
if (canceled) {
if (wxGetApp().get_mode() == comSimple)
sidebar->set_btn_label(ActionButtonType::abReslice, "Slice now");
show_action_buttons(true);
}
else if (wxGetApp().get_mode() == comSimple)
show_action_buttons(false);
}