Update dialogue_box.py to fix typo

This commit is contained in:
Barunes Padhy 2024-06-19 14:01:29 +03:00 committed by GitHub
parent fe29d2749d
commit 003af5a050
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -57,7 +57,7 @@ def show_message_box(title, message, widget):
def draw_dialogue_box(title, message, dialogue_box_type):
app = QApplication(sys.argv)
widget = QWidget()
widget.setWindowFlag(Qt.WindowType.Window
widget.setWindowFlag(Qt.WindowType.Window)
widget.setWindowFlag(Qt.WindowType.WindowStaysOnTopHint)
widget.show()
widget.raise_()