tkurbad-overlay/media-gfx/superslicer/files/superslicer-2.5.60.0-wxwidgets-3.2.patch
2025-01-05 00:14:15 +01:00

13 lines
780 B
Diff

diff '--color=auto' -urN SuperSlicer-2.5.60.0.orig/src/slic3r/GUI/PhysicalPrinterDialog.cpp SuperSlicer-2.5.60.0/src/slic3r/GUI/PhysicalPrinterDialog.cpp
--- SuperSlicer-2.5.60.0.orig/src/slic3r/GUI/PhysicalPrinterDialog.cpp 2024-07-01 11:29:11.000000000 +0200
+++ SuperSlicer-2.5.60.0/src/slic3r/GUI/PhysicalPrinterDialog.cpp 2025-01-04 23:38:20.276914468 +0100
@@ -564,7 +564,7 @@
// 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(std::vector<std::string>({ m_config->opt_string("printhost_port") }));
choice->set_selection();
}