diff --git a/gui/qt/qrtextedit.py b/gui/qt/qrtextedit.py index 42d999c00d4d..9e7e3ba6cdf6 100644 --- a/gui/qt/qrtextedit.py +++ b/gui/qt/qrtextedit.py @@ -56,6 +56,8 @@ def qr_input(self): except BaseException as e: self.show_error(str(e)) data = '' + if not data: + data = '' self.setText(data) return data