FIX:fixed crash after switching languages

Change-Id: I949b3bf99e0daefb5e3fac71c6df45e94b51608c
This commit is contained in:
tao wang 2023-06-19 20:12:10 +08:00 committed by Lane.Wei
parent 53ea77b67b
commit e9ad8374bc
4 changed files with 10 additions and 3 deletions

View file

@ -11143,6 +11143,11 @@ std::vector<std::string> Plater::get_colors_for_color_print(const GCodeProcessor
return colors;
}
wxWindow* Plater::get_select_machine_dialog()
{
return p->m_select_machine_dlg;
}
void Plater::update_print_error_info(int code, std::string msg, std::string extra)
{
if (p->m_select_machine_dlg) {