FIX:fixed crash after switching languages

Change-Id: I949b3bf99e0daefb5e3fac71c6df45e94b51608c
This commit is contained in:
tao wang authored and Lane.Wei committed 2023-07-07 17:29:08 +08:00
1 parent 53ea77b67b
commit e9ad8374bc
4 files changed
+10 -3

No files matched your search

+3 -2
View File
@@ -1948,8 +1948,9 @@ void GUI_App::init_networking_callbacks()
}
}
}
event.SetEventObject(this);
wxPostEvent(this, event);
if (wxGetApp().plater()->get_select_machine_dialog()) {
wxPostEvent(wxGetApp().plater()->get_select_machine_dialog(), event);
}
});
}
);