superslicer-prerelease/0009-fix-multiple-choice.patch
Dominic 2b9cd5ceb7
Try to update to 2.5.60.0-1
Currently fails to launch with
$ superslicer
superslicer: symbol lookup error: superslicer: undefined symbol: _ZN3tbb6detail2r127get_thread_reference_vertexEPNS0_2d126wait_tree_vertex_interfaceE
2024-11-20 14:28:13 +01:00

14 lines
770 B
Diff

diff --git a/src/slic3r/GUI/PhysicalPrinterDialog.cpp b/src/slic3r/GUI/PhysicalPrinterDialog.cpp
index 7ca307ff9d..11fdea36b1 100644
--- a/src/slic3r/GUI/PhysicalPrinterDialog.cpp
+++ b/src/slic3r/GUI/PhysicalPrinterDialog.cpp
@@ -564,7 +564,8 @@ void PhysicalPrinterDialog::build_printhost_settings(ConfigOptionsGroup* m_optgr
// 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") });
+ const std::vector<std::string> choice_values = { m_config->opt_string("printhost_port") };
+ choice->set_values(choice_values);
choice->set_selection();
}