mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-20 21:39:14 +08:00
Erasing of Connect address in PhysicalPrinterDialog
This commit is contained in:
parent
bfd7e6b75e
commit
da6a384e48
@ -491,7 +491,7 @@ void PhysicalPrinterDialog::update(bool printer_change)
|
|||||||
// hide PrusaConnect address
|
// hide PrusaConnect address
|
||||||
Field* printhost_field = m_optgroup->get_field("print_host");
|
Field* printhost_field = m_optgroup->get_field("print_host");
|
||||||
text_ctrl* printhost_win = printhost_field ? dynamic_cast<text_ctrl*>(printhost_field->getWindow()) : nullptr;
|
text_ctrl* printhost_win = printhost_field ? dynamic_cast<text_ctrl*>(printhost_field->getWindow()) : nullptr;
|
||||||
if (printhost_win && !printhost_win->GetValue().IsEmpty())
|
if (printhost_win && printhost_win->GetValue() == L"https://connect.prusa3d.com")
|
||||||
printhost_win->SetValue(wxString());
|
printhost_win->SetValue(wxString());
|
||||||
|
|
||||||
if (opt->value == htPrusaLink) { // PrusaConnect does NOT allow http digest
|
if (opt->value == htPrusaLink) { // PrusaConnect does NOT allow http digest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user