FirmwareDialog: Fix log clearing

This commit is contained in:
Vojtech Kral 2018-05-21 15:25:38 +02:00
parent a43e72f696
commit 7f8265e2be

View File

@ -108,7 +108,7 @@ void FirmwareDialog::priv::find_serial_ports()
void FirmwareDialog::priv::flashing_status(bool value, AvrDudeComplete complete) void FirmwareDialog::priv::flashing_status(bool value, AvrDudeComplete complete)
{ {
if (value) { if (value) {
txt_stdout->SetValue(wxEmptyString); txt_stdout->Clear();
txt_status->SetLabel(_(L("Flashing in progress. Please do not disconnect the printer!"))); txt_status->SetLabel(_(L("Flashing in progress. Please do not disconnect the printer!")));
txt_status->SetForegroundColour(GUI::get_label_clr_modified()); txt_status->SetForegroundColour(GUI::get_label_clr_modified());
port_picker->Disable(); port_picker->Disable();