Skip to content

Commit

Permalink
Fix issue that print host and webui settings are not properly reset (#…
Browse files Browse the repository at this point in the history
…4734)

Fix issue that print host and webui settings are not properly reset after switching from certain host type
  • Loading branch information
Noisyfox authored and SoftFever committed Apr 13, 2024
1 parent 9608d44 commit e75a2f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/slic3r/GUI/PhysicalPrinterDialog.cpp
Expand Up @@ -518,6 +518,7 @@ void PhysicalPrinterDialog::update(bool printer_change)
current_host == L"https://app.obico.io" ||
current_host == "https://simplyprint.io") {
temp->SetValue(wxString());
m_config->opt_string("print_host") = "";
}
}
}
Expand All @@ -526,6 +527,7 @@ void PhysicalPrinterDialog::update(bool printer_change)
const auto current_host = temp->GetValue();
if (current_host == "https://simplyprint.io/panel") {
temp->SetValue(wxString());
m_config->opt_string("print_host_webui") = "";
}
}
}
Expand Down

0 comments on commit e75a2f8

Please sign in to comment.