diff --git a/gui/qt/qrtextedit.py b/gui/qt/qrtextedit.py index 42d999c00..9e7e3ba6c 100644 --- a/gui/qt/qrtextedit.py +++ b/gui/qt/qrtextedit.py @@ -56,6 +56,8 @@ class ScanQRTextEdit(ButtonsTextEdit, MessageBoxMixin): except BaseException as e: self.show_error(str(e)) data = '' + if not data: + data = '' self.setText(data) return data