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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue