mirror of
https://github.com/LorenEteval/Furious.git
synced 2026-10-08 22:59:48 +03:00
Make openAppFolder action optional in macOS
Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
@@ -275,16 +275,23 @@ class AppMainWindow(AppQMainWindow):
|
||||
),
|
||||
]
|
||||
|
||||
if PLATFORM == 'Darwin':
|
||||
openAppFolderAction = [None]
|
||||
else:
|
||||
openAppFolderAction = [
|
||||
AppQSeperator(),
|
||||
AppQAction(
|
||||
_('Open Application Folder'),
|
||||
callback=lambda: self.openApplicationFolder(),
|
||||
),
|
||||
]
|
||||
|
||||
toolsActions = [
|
||||
AppQAction(
|
||||
_('Manage Xray-core Asset File...'),
|
||||
callback=lambda: self.xrayAssetViewerWindow.show(),
|
||||
),
|
||||
AppQSeperator(),
|
||||
AppQAction(
|
||||
_('Open Application Folder'),
|
||||
callback=lambda: self.openApplicationFolder(),
|
||||
),
|
||||
*openAppFolderAction,
|
||||
]
|
||||
|
||||
if hasattr(AppQAction, 'setMenu'):
|
||||
|
||||
Reference in New Issue
Block a user