1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

Bugfix: the Export G-code button was not re-enabled after cancelling an export job. #2754

This commit is contained in:
Alessandro Ranellucci
2015-03-28 18:53:07 +01:00
parent 2c13be1fa9
commit ce676a7ca7
+5
View File
@@ -1059,6 +1059,11 @@ sub export_gcode {
$self->statusbar->SetCancelCallback(sub {
$self->stop_background_process;
$self->statusbar->SetStatusText("Export cancelled");
$self->{export_gcode_output_file} = undef;
$self->{send_gcode_file} = undef;
# this updates buttons status
$self->object_list_changed;
});
# start background process, whose completion event handler