1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

Merge pull request #5159 from mloidl/repetier_fix

Possible segmentation fault in physical printer dialog when Host is set to "Repetier"
This commit is contained in:
Vojtěch Bubník
2020-11-30 09:36:57 +01:00
committed by GitHub
+1 -1
View File
@@ -1085,7 +1085,7 @@ void Choice::set_values(const wxArrayString &values)
// # it looks that Clear() also clears the text field in recent wxWidgets versions,
// # but we want to preserve it
auto ww = dynamic_cast<wxBitmapComboBox*>(window);
auto ww = dynamic_cast<choice_ctrl*>(window);
auto value = ww->GetValue();
ww->Clear();
ww->Append("");