mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Skip version check on App startup
This commit is contained in:
parent
3af2c20bb2
commit
57755c766c
1 changed files with 13 additions and 13 deletions
|
@ -1088,21 +1088,21 @@ void GUI_App::post_init()
|
||||||
// to popup a modal dialog on start without screwing combo boxes.
|
// to popup a modal dialog on start without screwing combo boxes.
|
||||||
// This is ugly but I honestly found no better way to do it.
|
// This is ugly but I honestly found no better way to do it.
|
||||||
// Neither wxShowEvent nor wxWindowCreateEvent work reliably.
|
// Neither wxShowEvent nor wxWindowCreateEvent work reliably.
|
||||||
if (this->preset_updater) { // G-Code Viewer does not initialize preset_updater.
|
//if (this->preset_updater) { // G-Code Viewer does not initialize preset_updater.
|
||||||
BOOST_LOG_TRIVIAL(info) << "before check_updates";
|
// BOOST_LOG_TRIVIAL(info) << "before check_updates";
|
||||||
this->check_updates(false);
|
// this->check_updates(false);
|
||||||
BOOST_LOG_TRIVIAL(info) << "after check_updates";
|
// BOOST_LOG_TRIVIAL(info) << "after check_updates";
|
||||||
CallAfter([this] {
|
// CallAfter([this] {
|
||||||
bool cw_showed = this->config_wizard_startup();
|
// bool cw_showed = this->config_wizard_startup();
|
||||||
|
|
||||||
std::string http_url = get_http_url(app_config->get_country_code());
|
// std::string http_url = get_http_url(app_config->get_country_code());
|
||||||
std::string language = GUI::into_u8(current_language_code());
|
// std::string language = GUI::into_u8(current_language_code());
|
||||||
this->preset_updater->sync(http_url, language, preset_bundle);
|
// this->preset_updater->sync(http_url, language, preset_bundle);
|
||||||
|
|
||||||
//BBS: check new version
|
// //BBS: check new version
|
||||||
this->check_new_version();
|
// this->check_new_version();
|
||||||
});
|
// });
|
||||||
}
|
//}
|
||||||
|
|
||||||
if(!m_networking_need_update && m_agent) {
|
if(!m_networking_need_update && m_agent) {
|
||||||
m_agent->set_on_ssdp_msg_fn(
|
m_agent->set_on_ssdp_msg_fn(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue