From ba83769030c3fe98c0b564106967dec4fbc32efb Mon Sep 17 00:00:00 2001 From: gerrit Date: Sat, 23 Jul 2022 22:41:50 +0800 Subject: [PATCH] FIX: fix the hang issue after change language under macos Change-Id: I9286173303225330b3052d8b7a5119b046c44754 --- src/slic3r/GUI/GUI_App.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index 18f9af9a8..1bade7562 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -2523,7 +2523,7 @@ void GUI_App::recreate_GUI(const wxString& msg_name) dlg.Update(80, _L("Loading current presets") + dots); load_current_presets(); mainframe->Show(true); - mainframe->refresh_plugin_tips(); + //mainframe->refresh_plugin_tips(); dlg.Update(90, _L("Loading a mode view") + dots); @@ -2540,6 +2540,10 @@ void GUI_App::recreate_GUI(const wxString& msg_name) // }); m_is_recreating_gui = false; + + CallAfter([this]() { + mainframe->refresh_plugin_tips(); + }); } void GUI_App::system_info()