Changed ToolpathOuside error notification from plater to slicing error notification type so it is grayed out correctly
This commit is contained in:
parent
9118de4e3c
commit
c140974bf4
3 changed files with 37 additions and 12 deletions
src/slic3r/GUI
|
@ -1072,6 +1072,14 @@ void NotificationManager::close_slicing_errors_and_warnings()
|
|||
}
|
||||
}
|
||||
}
|
||||
void NotificationManager::close_slicing_error_notification(const std::string& text)
|
||||
{
|
||||
for (std::unique_ptr<PopNotification>& notification : m_pop_notifications) {
|
||||
if (notification->get_type() == NotificationType::SlicingError && notification->compare_text(_u8L("ERROR:") + "\n" + text)) {
|
||||
notification->close();
|
||||
}
|
||||
}
|
||||
}
|
||||
void NotificationManager::push_slicing_complete_notification(int timestamp, bool large)
|
||||
{
|
||||
std::string hypertext;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue