mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 11:17:51 -06:00
Move Growl::GNTP handling to Slic3r::GUI to allow notifications from both Slic3r::GUI::SkeinPanel and Slic3r::GUI::Plater.
This commit is contained in:
parent
3c66ea3134
commit
129f0fa904
3 changed files with 21 additions and 17 deletions
|
@ -519,11 +519,7 @@ sub export_gcode2 {
|
|||
$print->processing_time - int($print->processing_time/60)*60
|
||||
if $print->processing_time;
|
||||
$message .= ".";
|
||||
eval {
|
||||
# TODO: fix it as we don't have $self->{growler}
|
||||
$self->{growler}->notify(Event => 'SKEIN_DONE', Title => 'Slicing Done!', Message => $message)
|
||||
if ($self->{growler});
|
||||
};
|
||||
Slic3r::GUI::notify($message);
|
||||
$params{on_completed}->($message);
|
||||
$print->cleanup;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue