Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

Commit

Permalink
Update qt_owner.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tonquer committed Jun 25, 2023
1 parent e1b8f59 commit bad51e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qt_owner.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def SetSubTitle(self, text):

def ShowError(self, msg):
if isinstance(msg, dict):
if "errorMsg" in msg:
if msg.get('errorMsg'):
return MsgLabel.ShowErrorEx(self.owner, str(msg["errorMsg"]))
else:
return MsgLabel.ShowErrorEx(self.owner, Str.GetStr((msg.get("st"))))
Expand Down

0 comments on commit bad51e6

Please sign in to comment.