mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 15:13:58 -06:00
Minor improvements to Octoprint integration
This commit is contained in:
parent
de2fd9721c
commit
242dc17680
3 changed files with 6 additions and 3 deletions
|
@ -195,7 +195,7 @@ sub new {
|
|||
reset cross.png
|
||||
arrange bricks.png
|
||||
export_gcode cog_go.png
|
||||
send_gcode cog_go.png
|
||||
send_gcode arrow_up.png
|
||||
export_stl brick_go.png
|
||||
|
||||
increase add.png
|
||||
|
@ -1124,7 +1124,9 @@ sub send_gcode {
|
|||
if ($res->is_success) {
|
||||
$self->statusbar->SetStatusText("G-code file successfully uploaded to the Octoprint server");
|
||||
} else {
|
||||
$self->statusbar->SetStatusText("Error while uploading to the Octoprint server: " . $res->status_line);
|
||||
my $message = "Error while uploading to the Octoprint server: " . $res->status_line;
|
||||
Slic3r::GUI::show_error($self, $message);
|
||||
$self->statusbar->SetStatusText($message);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue