mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-16 05:51:50 +08:00
fix crash on sla start
This commit is contained in:
parent
b6d2acfd76
commit
24cfdad2c1
@ -1317,7 +1317,8 @@ void fatal_error(wxWindow* parent)
|
||||
// Update the UI based on the current preferences.
|
||||
void GUI_App::update_ui_from_settings(bool apply_free_camera_correction)
|
||||
{
|
||||
mainframe->update_ui_from_settings(apply_free_camera_correction);
|
||||
if(mainframe)
|
||||
mainframe->update_ui_from_settings(apply_free_camera_correction);
|
||||
}
|
||||
|
||||
void GUI_App::persist_window_geometry(wxTopLevelWindow *window, bool default_maximized)
|
||||
|
Loading…
x
Reference in New Issue
Block a user