From 3f9cefc16874311709a0ab9e8be30d2d943979ff Mon Sep 17 00:00:00 2001 From: Lukas Matena Date: Wed, 6 Oct 2021 15:49:17 +0200 Subject: [PATCH] SendSystemInfo: Open the dialog based on appconfig, even in alphas --- src/slic3r/GUI/SendSystemInfoDialog.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/slic3r/GUI/SendSystemInfoDialog.cpp b/src/slic3r/GUI/SendSystemInfoDialog.cpp index 9aaef88b2..6add98e62 100644 --- a/src/slic3r/GUI/SendSystemInfoDialog.cpp +++ b/src/slic3r/GUI/SendSystemInfoDialog.cpp @@ -131,16 +131,14 @@ 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()) == "alpha") - return false; // Don't show in alphas. + // 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())