mirror of https://github.com/buggins/dlangide.git
fix crash on startup
This commit is contained in:
parent
5771101f59
commit
d130848eb2
2
dub.json
2
dub.json
|
@ -12,7 +12,7 @@
|
||||||
"stringImportPaths": ["views", "views/res", "views/res/i18n", "views/res/mdpi", "views/res/hdpi"],
|
"stringImportPaths": ["views", "views/res", "views/res/i18n", "views/res/mdpi", "views/res/hdpi"],
|
||||||
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"dlangui": "==0.9.84",
|
"dlangui": "==0.9.85",
|
||||||
"dcd": "~>0.9.0"
|
"dcd": "~>0.9.0"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -281,8 +281,8 @@ class IDESettings : SettingsFile {
|
||||||
}
|
}
|
||||||
|
|
||||||
@property bool autoOpenLastProject() {
|
@property bool autoOpenLastProject() {
|
||||||
Setting obj =_setting.objectByPath("common/autoOpenLastProject");
|
Setting obj =_setting.objectByPath("common", true);
|
||||||
return _setting.objectByPath("common/autoOpenLastProject").boolean;
|
return obj.getBoolean("autoOpenLastProject", false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue