mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-01 04:52:02 +08:00
Fix of version notification message.
This commit is contained in:
parent
b37d4e5b6c
commit
003350a4e2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user