Bugfix: the Export G-code button was not re-enabled after cancelling an export job. #2754
This commit is contained in:
parent
2c13be1fa9
commit
ce676a7ca7
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue