ENH: [STUDIO-4028] RequestUserAttention on printer error

Change-Id: I37f451edcd57059320103093291c6037129a2898
This commit is contained in:
chunmao.guo authored and Lane.Wei committed 2023-11-01 09:11:19 +08:00
1 parent 11fb86a054
commit 3c01e937f8
2 files changed
+3

No files matched your search

+2
View File
@@ -8,6 +8,7 @@
#include "BitmapCache.hpp"
#include "GUI_App.hpp"
#include "MainFrame.hpp"
#include "MsgDialog.hpp"
#include "slic3r/Utils/Http.hpp"
@@ -1864,6 +1865,7 @@ void StatusPanel::show_error_message(MachineObject* obj, wxString msg, std::stri
});
m_print_error_dlg->on_show();
wxGetApp().mainframe->RequestUserAttention(wxUSER_ATTENTION_ERROR);
}
}