diff --git a/xs/src/slic3r/GUI/FirmwareDialog.cpp b/xs/src/slic3r/GUI/FirmwareDialog.cpp index 01ad04f6b..b8c3bd49d 100644 --- a/xs/src/slic3r/GUI/FirmwareDialog.cpp +++ b/xs/src/slic3r/GUI/FirmwareDialog.cpp @@ -108,7 +108,7 @@ void FirmwareDialog::priv::find_serial_ports() void FirmwareDialog::priv::flashing_status(bool value, AvrDudeComplete complete) { if (value) { - txt_stdout->SetValue(wxEmptyString); + txt_stdout->Clear(); txt_status->SetLabel(_(L("Flashing in progress. Please do not disconnect the printer!"))); txt_status->SetForegroundColour(GUI::get_label_clr_modified()); port_picker->Disable();