mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-26 04:12:07 +00:00
feature diff country on local area for update preset web resource.
This commit is contained in:
@@ -2549,7 +2549,7 @@ bool GUI_App::on_init_inner()
|
||||
false,
|
||||
wxCENTER | wxICON_INFORMATION);
|
||||
dialog.SetExtendedMessage(description_text);
|
||||
|
||||
|
||||
int result = dialog.ShowModal();
|
||||
switch (result)
|
||||
{
|
||||
@@ -4862,6 +4862,7 @@ void GUI_App::check_new_version_sf(bool show_tips, bool by_user)
|
||||
return;
|
||||
}
|
||||
|
||||
//if (true)
|
||||
if (isForceUpgrade)
|
||||
{
|
||||
wxGetApp().app_config->set_bool("force_upgrade", version_info.force_upgrade);
|
||||
|
||||
@@ -2298,7 +2298,7 @@ static wxMenu* generate_help_menu()
|
||||
});
|
||||
|
||||
append_menu_item(
|
||||
helpMenu, wxID_ANY, _L("Check for Preset Update"), _L("Check for Preset Update"),
|
||||
helpMenu, wxID_ANY, _L("Check for Process Preset Updates"), _L("Check for Process Preset Updates"),
|
||||
[](wxCommandEvent&) {
|
||||
wxGetApp().check_preset_version();
|
||||
|
||||
@@ -2306,7 +2306,7 @@ static wxMenu* generate_help_menu()
|
||||
"", nullptr, []() { return true; });
|
||||
|
||||
append_menu_item(
|
||||
helpMenu, wxID_ANY, _L("Check for Web Update"), _L("Check for Web Update"),
|
||||
helpMenu, wxID_ANY, _L("Check for Web ResourceUpdates"), _L("Check for Web ResourceUpdates"),
|
||||
[](wxCommandEvent&) {
|
||||
wxGetApp().check_web_version();
|
||||
},
|
||||
|
||||
@@ -441,7 +441,7 @@ DownloadDialog::DownloadDialog(wxWindow *parent, const wxString &msg, const wxSt
|
||||
: MsgDialog(parent, title, msg, style), msg(msg)
|
||||
{
|
||||
add_button(wxID_YES, true, _L("Download"));
|
||||
add_button(wxID_CANCEL, true, _L("Skip"));
|
||||
//add_button(wxID_CANCEL, true, _L("Skip"));
|
||||
|
||||
finalize();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user