mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-02-01 15:49:09 +00:00
Allow the use of the native macOS menu bar
This commit is contained in:
@@ -266,8 +266,11 @@ class QtDriver(QObject):
|
||||
self.splash.show()
|
||||
|
||||
menu_bar = self.main_window.menuBar()
|
||||
menu_bar.setNativeMenuBar(False)
|
||||
# menu_bar.setStyleSheet('background:#00000000;')
|
||||
|
||||
# Allow the use of the native macOS menu bar.
|
||||
if sys.platform != "darwin":
|
||||
menu_bar.setNativeMenuBar(False)
|
||||
|
||||
file_menu = QMenu("&File", menu_bar)
|
||||
edit_menu = QMenu("&Edit", menu_bar)
|
||||
tools_menu = QMenu("&Tools", menu_bar)
|
||||
|
||||
Reference in New Issue
Block a user