mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-29 22:59:35 -07:00
Fix usage of CallAfter vs modal dialogs in slic3r.cpp, fix #1778
This commit is contained in:
@@ -197,7 +197,7 @@ bool GUI_App::OnInit()
|
||||
|
||||
|
||||
mainframe->Show(true);
|
||||
return true;
|
||||
return m_initialized = true;
|
||||
}
|
||||
|
||||
unsigned GUI_App::get_colour_approx_luma(const wxColour &colour)
|
||||
|
||||
@@ -71,6 +71,7 @@ static wxString dots("…", wxConvUTF8);
|
||||
|
||||
class GUI_App : public wxApp
|
||||
{
|
||||
bool m_initialized { false };
|
||||
bool app_conf_exists{ false };
|
||||
|
||||
wxColour m_color_label_modified;
|
||||
@@ -90,6 +91,7 @@ class GUI_App : public wxApp
|
||||
|
||||
public:
|
||||
bool OnInit() override;
|
||||
bool initialized() const { return m_initialized; }
|
||||
|
||||
GUI_App();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user