mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-24 23:27:46 +08: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:
commit
031eca533e
@ -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("");
|
||||
|
Loading…
x
Reference in New Issue
Block a user