mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
notifications: plater warning not visible in preview
This commit is contained in:
parent
2455df4017
commit
25fb569017
3 changed files with 16 additions and 1 deletions
|
@ -909,6 +909,14 @@ bool NotificationManager::find_older(NotificationManager::PopNotification* notif
|
|||
return false;
|
||||
}
|
||||
|
||||
void NotificationManager::set_in_preview(bool preview)
|
||||
{
|
||||
m_in_preview = preview;
|
||||
for (PopNotification* notification : m_pop_notifications) {
|
||||
if (notification->get_type() == NotificationType::PlaterWarning)
|
||||
notification->hide(preview);
|
||||
}
|
||||
}
|
||||
void NotificationManager::dpi_changed()
|
||||
{
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue