Falashforge 5M network support (#4546)

* build action changes

* Adding flashforge 5M series network support

* Update CMakeLists.txt

* Update Flashforge.cpp

* reverting files for pull request

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
iherbak 2024-03-22 12:22:46 +01:00 committed by GitHub
parent 2bda9db207
commit f1c91dc551
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 256 additions and 16 deletions

View file

@ -513,6 +513,11 @@ void PhysicalPrinterDialog::update(bool printer_change)
}
}
}
if (opt->value == htFlashforge) {
m_optgroup->hide_field("printhost_apikey");
m_optgroup->hide_field("printhost_authorization_type");
}
}
else {
m_optgroup->set_value("host_type", int(PrintHostType::htOctoPrint), false);