mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-25 20:02:17 +00:00
Fix: Snapmaker TPU 95a hf procession & region error on first use
This commit is contained in:
@@ -3658,6 +3658,8 @@ if (res) {
|
||||
load_current_presets();
|
||||
update_publish_status();
|
||||
mainframe->refresh_plugin_tips();
|
||||
|
||||
m_fltviews.reload_all();
|
||||
// BBS: remove SLA related message
|
||||
}
|
||||
} catch (std::exception &) {
|
||||
@@ -6727,6 +6729,7 @@ bool GUI_App::run_wizard(ConfigWizard::RunReason reason, ConfigWizard::StartPage
|
||||
wxGetApp().sidebar().update_nozzle_settings();
|
||||
update_publish_status();
|
||||
mainframe->refresh_plugin_tips();
|
||||
m_fltviews.reload_all();
|
||||
// BBS: remove SLA related message
|
||||
}
|
||||
auto isAgree = wxGetApp().app_config->get("app", PRIVACY_POLICY_FLAGS);
|
||||
|
||||
@@ -903,7 +903,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void relead_all() {
|
||||
void reload_all() {
|
||||
for (const auto& view : webviews) {
|
||||
auto ptr = view.first;
|
||||
wxString new_url = app->get_international_url(view.second);
|
||||
|
||||
@@ -1523,7 +1523,11 @@ void SSWCP_Instance::update_filament_info(const json& objects, bool send_message
|
||||
|
||||
// 名称特殊处理
|
||||
if (type == "TPU") {
|
||||
name = vendor + " " + type;
|
||||
if (sub_type == "95A HF") {
|
||||
name = vendor + " " + type + ((sub_type != "NONE" && sub_type != "") ? " " + sub_type : "");
|
||||
} else {
|
||||
name = vendor + " " + type;
|
||||
}
|
||||
} else if (sub_type == "Support") {
|
||||
name = vendor + " Support" + " For " + type;
|
||||
} else {
|
||||
|
||||
@@ -496,7 +496,7 @@ void GuideFrame::OnScriptMessage(wxWebViewEvent &evt)
|
||||
}
|
||||
}
|
||||
|
||||
wxGetApp().fltviews().relead_all();
|
||||
wxGetApp().fltviews().reload_all();
|
||||
}
|
||||
|
||||
this->EndModal(wxID_OK);
|
||||
|
||||
Reference in New Issue
Block a user