From: DeaDDooMER <deaddoomer@deadsoftware.ru>
Date: Wed, 24 May 2023 06:53:57 +0000 (+0300)
Subject: osx: disable menu icons
X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=057284c42bc8691b1768140daee72a7d24410867;p=d2df-editor.git

osx: disable menu icons
---

diff --git a/src/editor/Editor.lpr b/src/editor/Editor.lpr
index 2e55853..95692d9 100644
--- a/src/editor/Editor.lpr
+++ b/src/editor/Editor.lpr
@@ -228,6 +228,10 @@ begin
   Application.ExceptionDialog := aedOkMessageBox;
   Application.AddOnExceptionHandler(THandlerObject.ExceptionHandler, True);
   Application.Initialize();
+  {$IFDEF DARWIN}
+    // Disable icons in menu on OSX by default
+    Application.ShowMenuGlyphs := sbgNever;
+  {$ENDIF}
 
   InitPathes;
   CheckParamOptions;