diff options
author | supermerill <merill@free.fr> | 2022-08-28 16:13:44 +0300 |
---|---|---|
committer | supermerill <merill@free.fr> | 2022-09-16 17:06:34 +0300 |
commit | 0b1923ffa95b2886cf51ed743b1c0d2e4ce82443 (patch) | |
tree | 0f4aa2c7fc2a280ebaf2079dfe51ee53b7d403d4 | |
parent | b4cffa9fb25701e1a280ac93f68dbbd68e8accf1 (diff) |
change download page from hardcoded prusa to define from libslic3r_version.h
supermerill/SuperSlicer#3069
-rw-r--r-- | src/slic3r/GUI/GUI_App.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index 4cf21a36c..041c2d878 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -1259,7 +1259,7 @@ bool GUI_App::on_init_inner() , NotificationManager::NotificationLevel::ImportantNotificationLevel , Slic3r::format(_u8L("New release version %1% is available."), evt.GetString()) , _u8L("See Download page.") - , [](wxEvtHandler* evnthndlr) {wxGetApp().open_web_page_localized("https://www.prusa3d.com/slicerweb"); return true; } + , [](wxEvtHandler* evnthndlr) {wxGetApp().open_web_page_localized(SLIC3R_DOWNLOAD); return true; } ); //} } @@ -1274,7 +1274,7 @@ bool GUI_App::on_init_inner() , NotificationManager::NotificationLevel::ImportantNotificationLevel , Slic3r::format(_u8L("New prerelease version %1% is available."), evt_string) , _u8L("See Releases page.") - , [](wxEvtHandler* evnthndlr) {wxGetApp().open_browser_with_warning_dialog("https://github.com/prusa3d/PrusaSlicer/releases"); return true; } + , [](wxEvtHandler* evnthndlr) {wxGetApp().open_browser_with_warning_dialog("https://github.com/" SLIC3R_GITHUB "/releases"); return true; } ); } } |