Skip to content

Commit

Permalink
Fix button
Browse files Browse the repository at this point in the history
  • Loading branch information
Liquid369 committed Oct 26, 2024
1 parent ac028d2 commit 0ac2338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def myPopUp(parentWindow: Any, messType: str, messTitle: str, messText: str, def
def myPopUp_sb(parentWindow: Any, messType: str, messTitle: str, messText: str, singleButton: QMessageBox.StandardButton = QMessageBox.Ok) -> int:
message_type = QT_MESSAGE_TYPE.get(messType, QMessageBox.Information)
mess = QMessageBox(message_type, messTitle, messText, singleButton, parent=parentWindow)
mess.setStandardButtons(singleButton | singleButton)
mess.setStandardButtons(singleButton)
return mess.exec_()


Expand Down

0 comments on commit 0ac2338

Please sign in to comment.