mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Notification manager - apply_in_preview function
This commit is contained in:
parent
a6cf840540
commit
7c7c355376
3 changed files with 5 additions and 4 deletions
|
@ -677,12 +677,11 @@ void Preview::update_layers_slider(const std::vector<double>& layers_z, bool kee
|
|||
_u8L("NOTE:") + "\n" + _u8L("Sliced object looks like the sign") + "\n",
|
||||
_u8L("Apply auto color change to print"),
|
||||
[this, notif_mngr](wxEvtHandler*) {
|
||||
notif_mngr->close_notification_of_type(NotificationType::SignDetected);
|
||||
m_layers_slider->auto_color_change();
|
||||
return true;
|
||||
});
|
||||
|
||||
notif_mngr->set_in_preview(true);
|
||||
notif_mngr->apply_in_preview();
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue