From deec0330bb06a4bb4ed2dabbc633fadef45c6847 Mon Sep 17 00:00:00 2001 From: Lukas Matena Date: Tue, 5 Oct 2021 15:08:04 +0200 Subject: [PATCH] Disable the dialog before merge with master --- src/slic3r/GUI/SendSystemInfoDialog.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/SendSystemInfoDialog.cpp b/src/slic3r/GUI/SendSystemInfoDialog.cpp index a9cbdea19..a8f776354 100644 --- a/src/slic3r/GUI/SendSystemInfoDialog.cpp +++ b/src/slic3r/GUI/SendSystemInfoDialog.cpp @@ -129,14 +129,16 @@ public: // current version is newer. Only major and minor versions are compared. static bool should_dialog_be_shown() { + return false; + std::string last_sent_version = wxGetApp().app_config->get("version_system_info_sent"); Semver semver_current(SLIC3R_VERSION); Semver semver_last_sent; if (! last_sent_version.empty()) semver_last_sent = Semver(last_sent_version); - if (semver_current.prerelease() && std::string(semver_current.prerelease()) != "rc") - return false; // Only show in rcs / finals. + if (semver_current.prerelease() && std::string(semver_current.prerelease()) == "alpha") + return false; // Don't show in alphas. // Show the dialog if current > last, but they differ in more than just patch. return ((semver_current.maj() > semver_last_sent.maj())