mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
FIX: fix the total progress not correct issue
Change-Id: I18b9d5034726b45c7331f1dae5e2b24c5e5bd170 (cherry picked from commit ba8c691a2c94f7a2f2ff0ce7f195de20a6c22573)
This commit is contained in:
parent
e44e1c1f19
commit
4b655f06d4
2 changed files with 22 additions and 12 deletions
|
@ -1753,14 +1753,23 @@ void GUI_App::init_networking_callbacks()
|
|||
|
||||
GUI_App::~GUI_App()
|
||||
{
|
||||
if (app_config != nullptr)
|
||||
BOOST_LOG_TRIVIAL(info) << __FUNCTION__<< boost::format(": enter");
|
||||
if (app_config != nullptr) {
|
||||
BOOST_LOG_TRIVIAL(info) << __FUNCTION__<< boost::format(": destroy app_config");
|
||||
delete app_config;
|
||||
}
|
||||
|
||||
if (preset_bundle != nullptr)
|
||||
if (preset_bundle != nullptr) {
|
||||
BOOST_LOG_TRIVIAL(info) << __FUNCTION__<< boost::format(": destroy preset_bundle");
|
||||
delete preset_bundle;
|
||||
}
|
||||
|
||||
if (preset_updater != nullptr)
|
||||
if (preset_updater != nullptr) {
|
||||
BOOST_LOG_TRIVIAL(info) << __FUNCTION__<< boost::format(": destroy preset updater");
|
||||
delete preset_updater;
|
||||
}
|
||||
|
||||
BOOST_LOG_TRIVIAL(info) << __FUNCTION__<< boost::format(": exit");
|
||||
}
|
||||
|
||||
// If formatted for github, plaintext with OpenGL extensions enclosed into <details>.
|
||||
|
@ -3271,7 +3280,7 @@ std::string GUI_App::handle_web_request(std::string cmd)
|
|||
CallAfter([this] {
|
||||
wxGetApp().request_user_logout();
|
||||
});
|
||||
}
|
||||
}
|
||||
else if (command_str.compare("homepage_modeldepot") == 0) {
|
||||
CallAfter([this] {
|
||||
wxGetApp().open_mall_page_dialog();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue