diff options
author | bubnikv <bubnikv@gmail.com> | 2018-05-21 17:14:20 +0300 |
---|---|---|
committer | Vojtech Kral <vojtech@kral.hk> | 2018-05-21 19:58:22 +0300 |
commit | 33f21422e67dd0cbc15fdaadc95197dc9f23baa3 (patch) | |
tree | d161c68d353d7322d33e1e72978c986493423475 /xs/src/slic3r/GUI/Tab.cpp | |
parent | 7f8265e2be197fe41c0fa8c1732561da74556c06 (diff) |
Added friendly names to serial ports, added automatic selection of Prusa's printers in the firmware updater dialog
Diffstat (limited to 'xs/src/slic3r/GUI/Tab.cpp')
-rw-r--r-- | xs/src/slic3r/GUI/Tab.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xs/src/slic3r/GUI/Tab.cpp b/xs/src/slic3r/GUI/Tab.cpp index 38c97f25e..ab5aa2bb0 100644 --- a/xs/src/slic3r/GUI/Tab.cpp +++ b/xs/src/slic3r/GUI/Tab.cpp @@ -6,6 +6,7 @@ #include "slic3r/Utils/Http.hpp" #include "slic3r/Utils/OctoPrint.hpp" +#include "slic3r/Utils/Serial.hpp" #include "BonjourDialog.hpp" #include "WipeTowerDialog.hpp" #include "ButtonsDescription.hpp" @@ -1693,7 +1694,7 @@ void TabPrinter::build() void TabPrinter::update_serial_ports(){ Field *field = get_field("serial_port"); Choice *choice = static_cast<Choice *>(field); - choice->set_values(scan_serial_ports()); + choice->set_values(Utils::scan_serial_ports()); } void TabPrinter::extruders_count_changed(size_t extruders_count){ |