mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-17 11:47:54 -06:00
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->statusbar->SetCancelCallback(sub {
|
||||||
$self->stop_background_process;
|
$self->stop_background_process;
|
||||||
$self->statusbar->SetStatusText("Export cancelled");
|
$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
|
# start background process, whose completion event handler
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue