Skip to content

Commit

Permalink
set the window title so it doesn't just say "Python"
Browse files Browse the repository at this point in the history
  • Loading branch information
ImLucasBrown committed Nov 23, 2024
1 parent 1c60f0c commit c580cbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nxt_editor/dialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@ def __init__(self, text='Title', info='Confirm something!',
self.setIcon(icon)
self.setWindowFlags(QtCore.Qt.WindowStaysOnTopHint)
self.setStandardButtons(self.Ok | self.Cancel)
self.setWindowTitle(text)
if button_text:
self.setButtonText(self.Ok, button_text.get(self.Ok, 'Ok'))
self.setButtonText(self.Cancel, button_text.get(self.Cancel,
Expand Down

0 comments on commit c580cbe

Please sign in to comment.