DEADSOFTWARE

osx: disable menu icons
authorDeaDDooMER <deaddoomer@deadsoftware.ru>
Wed, 24 May 2023 06:53:57 +0000 (09:53 +0300)
committerDeaDDooMER <deaddoomer@deadsoftware.ru>
Wed, 24 May 2023 06:53:57 +0000 (09:53 +0300)
src/editor/Editor.lpr

index 2e5585344aa4627e340de55019560340902728e5..95692d90bcb0c49d5f78d449012caca91cb929c3 100644 (file)
@@ -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;