mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
FIX: [STUDIO-2241] show error dialog later for param value error
Change-Id: I16ffc92cb0701b8e3d984b783618549a5b237f70
This commit is contained in:
@@ -221,8 +221,10 @@ void change_opt_value(DynamicPrintConfig& config, const t_config_option_key& opt
|
|||||||
|
|
||||||
void show_error(wxWindow* parent, const wxString& message, bool monospaced_font)
|
void show_error(wxWindow* parent, const wxString& message, bool monospaced_font)
|
||||||
{
|
{
|
||||||
|
wxGetApp().CallAfter([=] {
|
||||||
ErrorDialog msg(parent, message, monospaced_font);
|
ErrorDialog msg(parent, message, monospaced_font);
|
||||||
msg.ShowModal();
|
msg.ShowModal();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
void show_error(wxWindow* parent, const char* message, bool monospaced_font)
|
void show_error(wxWindow* parent, const char* message, bool monospaced_font)
|
||||||
|
|||||||
Reference in New Issue
Block a user