Netfabb finished notification, fix of #7067
This commit is contained in:
parent
1cc7b4ba97
commit
d5d106fe61
3 changed files with 18 additions and 14 deletions
src/slic3r/GUI
|
@ -4140,7 +4140,7 @@ void ObjectList::fix_through_netfabb()
|
|||
// Close the progress dialog
|
||||
progress_dlg.Update(100, "");
|
||||
|
||||
// Show info message
|
||||
// Show info notification
|
||||
wxString msg;
|
||||
wxString bullet_suf = "\n - ";
|
||||
if (!succes_models.empty()) {
|
||||
|
@ -4156,9 +4156,7 @@ void ObjectList::fix_through_netfabb()
|
|||
}
|
||||
if (msg.IsEmpty())
|
||||
msg = _L("Repairing was canceled");
|
||||
// !!! Use wxMessageDialog instead of MessageDialog here
|
||||
// It will not be "dark moded" but the Application will not lose a focus after model repairing
|
||||
wxMessageDialog(nullptr, msg, _L("Model Repair by the Netfabb service"), wxICON_INFORMATION | wxOK).ShowModal();
|
||||
plater->get_notification_manager()->push_notification(NotificationType::NetfabbFinished, NotificationManager::NotificationLevel::PrintInfoShortNotificationLevel, boost::nowide::narrow(msg));
|
||||
}
|
||||
|
||||
void ObjectList::simplify()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue