Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/cad/OrcaSlicer/files/patch-src_slic3r_GUI_PhysicalPrinterDialog.cpp
34610 views
1
--- src/slic3r/GUI/PhysicalPrinterDialog.cpp.orig 2025-10-02 17:32:12 UTC
2
+++ src/slic3r/GUI/PhysicalPrinterDialog.cpp
3
@@ -373,7 +373,7 @@ void PhysicalPrinterDialog::build_printhost_settings(C
4
// Always fill in the "printhost_port" combo box from the config and select it.
5
{
6
Choice* choice = dynamic_cast<Choice*>(m_optgroup->get_field("printhost_port"));
7
- choice->set_values({ m_config->opt_string("printhost_port") });
8
+ choice->set_values(std::vector<std::string>{ m_config->opt_string("printhost_port") });
9
choice->set_selection();
10
}
11
12
13