diff options
author | bubnikv <bubnikv@gmail.com> | 2020-03-07 14:24:40 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2020-03-07 14:24:53 +0300 |
commit | d4ac4df21cf03827e63c7a088c2036a36d1a663d (patch) | |
tree | ffcaa9cbee39494562d74881cdc39ec212d16931 /src/slic3r/GUI/MainFrame.hpp | |
parent | fb10e2777823f27af93bed162e9e8602a8aa6ab0 (diff) |
Fixed crash on switching the application language.version_2.2.0-rc2
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.
Diffstat (limited to 'src/slic3r/GUI/MainFrame.hpp')
-rw-r--r-- | src/slic3r/GUI/MainFrame.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/slic3r/GUI/MainFrame.hpp b/src/slic3r/GUI/MainFrame.hpp index 20e18fc53..2ccd77666 100644 --- a/src/slic3r/GUI/MainFrame.hpp +++ b/src/slic3r/GUI/MainFrame.hpp @@ -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(); |