From 7f8265e2be197fe41c0fa8c1732561da74556c06 Mon Sep 17 00:00:00 2001
From: Vojtech Kral <vojtech@kral.hk>
Date: Mon, 21 May 2018 15:25:38 +0200
Subject: [PATCH] FirmwareDialog: Fix log clearing

---
 xs/src/slic3r/GUI/FirmwareDialog.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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();