y2: fix some bug

1. Fixed a bug where the login window was not destroyed when switching languages;
2. Fixed the display issue when the model does not have the corresponding picture;
3. Fix button display problem when the local device has no IP address.
This commit is contained in:
wjyLearn
2024-07-29 10:53:47 +08:00
parent 4bdb7b76df
commit 146a4a15ed
9 changed files with 45 additions and 10 deletions

View File

@@ -677,6 +677,8 @@ void MainFrame::shutdown()
// to avoid any manipulations with them from App->wxEVT_IDLE after of the mainframe closing
wxGetApp().tabs_list.clear();
wxGetApp().plater_ = nullptr;
// y2
wxGetApp().shutdown();
}
GalleryDialog* MainFrame::gallery_dialog()