Enabled print host upload notifications
This commit is contained in:
parent
fb9d537b58
commit
645c840e5f
2 changed files with 2 additions and 2 deletions
src/slic3r/GUI
|
@ -1140,7 +1140,7 @@ void NotificationManager::set_upload_job_notification_percentage(int id, const s
|
|||
std::string text = PrintHostUploadNotification::get_upload_job_text(id, filename, host);
|
||||
// bool found = false;
|
||||
for (std::unique_ptr<PopNotification>& notification : m_pop_notifications) {
|
||||
if (notification->get_type() == NotificationType::ProgressBar && notification->compare_text(text)) {
|
||||
if (notification->get_type() == NotificationType::PrintHostUpload && notification->compare_text(text)) {
|
||||
dynamic_cast<PrintHostUploadNotification*>(notification.get())->set_percentage(percentage);
|
||||
wxGetApp().plater()->get_current_canvas3D()->schedule_extra_frame(0);
|
||||
// found = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue