From 003350a4e2a4677f95ad7a7a9c20ed2f669eead0 Mon Sep 17 00:00:00 2001 From: David Kocik Date: Mon, 24 Apr 2023 11:22:43 +0200 Subject: [PATCH] Fix of version notification message. --- src/slic3r/GUI/GUI_App.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index dc4bb17e89..b0411c89c0 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -3381,6 +3381,9 @@ void GUI_App::on_version_read(wxCommandEvent& evt) ? _u8L("Check for application update has failed.") : Slic3r::format(_u8L("You are currently running the latest released version %1%."), evt.GetString()); + if (*Semver::parse(SLIC3R_VERSION) > *Semver::parse(into_u8(evt.GetString()))) + text = Slic3r::format(_u8L("There are no new released versions online. The latest release version is %1%."), evt.GetString()); + this->plater_->get_notification_manager()->push_version_notification(NotificationType::NoNewReleaseAvailable , NotificationManager::NotificationLevel::RegularNotificationLevel , text