#BUGFIX by exept
authorClaus Gittinger <cg@exept.de>
Wed, 18 Dec 2019 00:10:20 +0100
changeset 19365 f92a171d61d3
parent 19364 1ca563ae96c7
child 19366 dc84f8fe0878
#BUGFIX by exept class: AbstractSettingsApplication::MiscDisplay2SettingsAppl FIX: markThisApplicationAsHighDpiAwareHolder is nil under linux/osx comment/format in: #basicSaveSettings #markThisApplicationAsHighDpiAwareHolder changed: #basicReadSettings
AbstractSettingsApplication.st
--- a/AbstractSettingsApplication.st	Mon Dec 16 11:39:51 2019 +0100
+++ b/AbstractSettingsApplication.st	Wed Dec 18 00:10:20 2019 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 2002 by eXept Software AG
               All Rights Reserved
@@ -2452,7 +2454,7 @@
                                extent: (Point 665 22)
                              )
                             (CheckBoxSpec
-                               label: 'Allow Paragraph in Identifiers (§)'
+                               label: 'Allow Paragraph in Identifiers (§)'
                                name: 'CheckBox10'
                                activeHelpKey: allowParagraphInIdentifier
                                uuid: '9c9316ac-1f3f-11b2-903e-3065ec8abe8a'
@@ -9830,9 +9832,12 @@
         self lowerOnShiftClickInTitle value:(currentScreen shiftedLeftButtonIsLowerWindow:nil).
     ].
 
-    markThisApplicationAsHighDpiAwareHolder 
-        value:self class isHighDpiAwareSetInRegistry
-        withoutNotifying:self.
+    "/ #markThisApplicationAsHighDpiAwareHolder is nil under linux/osx
+    markThisApplicationAsHighDpiAwareHolder notNil ifTrue:[
+        markThisApplicationAsHighDpiAwareHolder 
+            value:self class isHighDpiAwareSetInRegistry
+            withoutNotifying:self.
+    ]
 
     "Modified: / 24-08-2010 / 16:43:39 / sr"
     "Modified: / 28-11-2019 / 10:25:50 / Stefan Reise"
@@ -9877,7 +9882,7 @@
         self reopenToolsAfterChangedViewStyleSetting.
     ].
 
-    "/ #markThisApplicationAsHighDpiAwareHolder is nil under linux
+    "/ #markThisApplicationAsHighDpiAwareHolder is nil under linux/osx
     markThisApplicationAsHighDpiAwareHolder notNil ifTrue:[
         self class applyMarkThisApplicationAsHighDpiAware:markThisApplicationAsHighDpiAwareHolder value.
     ].
@@ -9936,6 +9941,8 @@
 !
 
 markThisApplicationAsHighDpiAwareHolder
+    "warning: nil if not running on linux/osx"
+
     ^ markThisApplicationAsHighDpiAwareHolder
 
     "Created: / 28-11-2019 / 10:31:05 / Stefan Reise"