Fixed crash on switching the application language.

This crash was caused by the RemovableDriveManager and 3DConnexion
detection services not being stopped correctly.
The fix executes all the tasks of the MainFrame at the language switch,
that are normally performed on application shut down.
This commit is contained in:
bubnikv 2020-03-07 12:24:40 +01:00
parent fb10e27778
commit d4ac4df21c
4 changed files with 49 additions and 59 deletions

View file

@ -100,6 +100,9 @@ public:
MainFrame();
~MainFrame() = default;
// Called when closing the application and when switching the application language.
void shutdown();
Plater* plater() { return m_plater; }
void update_title();