mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 01:56:37 -04:00
Adapted patch provided from Jesper Schmitz Mouridsen PR: 284821 Reported by: Torfinn Ingolfsen Approved by: teodorsigaev@
11 lines
597 B
C++
11 lines
597 B
C++
--- src/slic3r/GUI/PhysicalPrinterDialog.cpp.orig 2024-12-20 11:54:34 UTC
|
|
+++ src/slic3r/GUI/PhysicalPrinterDialog.cpp
|
|
@@ -607,7 +607,7 @@ void PhysicalPrinterDialog::build_printhost_settings(C
|
|
// Always fill in the "printhost_port" combo box from the config and select it.
|
|
{
|
|
Choice* choice = dynamic_cast<Choice*>(m_optgroup->get_field("printhost_port"));
|
|
- choice->set_values({ m_config->opt_string("printhost_port") });
|
|
+ choice->set_values((const std::vector<std::string>){ m_config->opt_string("printhost_port") });
|
|
choice->set_selection();
|
|
}
|
|
|