diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index 7aff9a6ca..c7654fcd6 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -779,8 +779,8 @@ void GUI_App::post_init() show_send_system_info_dialog_if_needed(); } #ifdef _WIN32 - // Run external updater on Windows. - if (! run_updater_win()) + // Run external updater on Windows if version check is enabled. + if (this->preset_updater->version_check_enabled() && ! run_updater_win()) // "prusaslicer-updater.exe" was not started, run our own update check. #endif // _WIN32 this->preset_updater->slic3r_update_notify(); diff --git a/src/slic3r/Utils/PresetUpdater.cpp b/src/slic3r/Utils/PresetUpdater.cpp index f93864c2e..2b458df53 100644 --- a/src/slic3r/Utils/PresetUpdater.cpp +++ b/src/slic3r/Utils/PresetUpdater.cpp @@ -954,4 +954,9 @@ void PresetUpdater::on_update_notification_confirm() } } +bool PresetUpdater::version_check_enabled() const +{ + return p->enabled_version_check; +} + } diff --git a/src/slic3r/Utils/PresetUpdater.hpp b/src/slic3r/Utils/PresetUpdater.hpp index 1313c3df8..97d85a4ea 100644 --- a/src/slic3r/Utils/PresetUpdater.hpp +++ b/src/slic3r/Utils/PresetUpdater.hpp @@ -57,6 +57,9 @@ public: bool install_bundles_rsrc(std::vector bundles, bool snapshot = true) const; void on_update_notification_confirm(); + + bool version_check_enabled() const; + private: struct priv; std::unique_ptr p;