Skip to content

Commit 4e78bc1

Browse files
committed
load launcher settings at application start
1 parent 7f29264 commit 4e78bc1

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

src/PharoLauncher-Core/PharoLauncherSettings.class.st

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ PharoLauncherSettings >> launchInALoginShell: aBoolean [
8888
self setValueOfSettingNamed: '#pharoLauncher#launchInALoginShell' with: aBoolean
8989
]
9090

91+
{ #category : 'persistence' }
92+
PharoLauncherSettings >> load [
93+
94+
manager loadSettings
95+
]
96+
9197
{ #category : 'initialization' }
9298
PharoLauncherSettings >> preferencesFile: aFileReference [
9399

src/PharoLauncher-Spec2/PharoLauncherApplication.class.st

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ PharoLauncherApplication >> initialize [
298298
This can be use to push progress bars (they stack)."
299299
windows := OrderedCollection new.
300300
openAsWorld := false.
301+
PharoLauncherSettings default load.
301302
self isStandalone
302303
ifTrue: [
303304
GEngine ensureEngine

0 commit comments

Comments
 (0)