We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a503c37 commit 26e0d72Copy full SHA for 26e0d72
ui/sura_player_ui/menubar.py
@@ -1,4 +1,4 @@
1
-from PyQt6.QtWidgets import QMenuBar
+from PyQt6.QtWidgets import QMenuBar, QApplication
2
from PyQt6.QtGui import QAction, QKeyEvent
3
from PyQt6.QtCore import Qt, QEvent
4
@@ -29,6 +29,7 @@ def __init__(self, parent=None):
29
close_window_action = QAction("إغلاق النافذة", self)
30
close_window_action .triggered.connect(self.parent.OnClose)
31
close_program_action = QAction("إغلاق البرنامج", self)
32
+ close_program_action.triggered.connect(QApplication.exit)
33
34
# Add Actions to Menu
35
main_menu.addAction(close_window_action)
0 commit comments