Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.

Commit 0e9268d

Browse files
committed
Fixed crash with popup
1 parent 5ac5b4c commit 0e9268d

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

components/popups.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def warnDialog(text):
3131

3232

3333
def confirmationModal(title, message):
34-
return QMessageBox.question(None, title, QMessageBox.Icon.Information, message, QMessageBox.StandardButton.Yes | QMessageBox.StandardButton.No)
34+
return QMessageBox.question(None, title, message, QMessageBox.StandardButton.Yes | QMessageBox.StandardButton.No)
3535

3636

3737
def windowsToast(title, message):

manager_window.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ def InitWindow(self):
6565
self.background_graphics.setMovie(movie)
6666
self.background_graphics.show()
6767
movie.start()
68-
reply = confirmationModal('hi', 'User')
69-
if reply == QMessageBox.StandardButton.Yes:
70-
print('confirm')
7168

7269
# Ask user to keep manager in background
7370

0 commit comments

Comments
 (0)