mirror of https://github.com/buggins/dlangide.git
Merge pull request #76 from keywan-ghadami/workaround-workspace-settings
dlang ide crashed on opening an workspace by selecting an dub file.
This commit is contained in:
commit
5a3e6e3055
|
@ -58,7 +58,7 @@ class Workspace : WorkspaceItem {
|
|||
protected BuildConfiguration _buildConfiguration;
|
||||
protected ProjectConfiguration _projectConfiguration = ProjectConfiguration.DEFAULT;
|
||||
|
||||
this(IDEFrame frame, string fname = null) {
|
||||
this(IDEFrame frame, string fname = WORKSPACE_EXTENSION) {
|
||||
super(fname);
|
||||
_workspaceFile = new SettingsFile(fname);
|
||||
_settings = new WorkspaceSettings(fname ? fname ~ WORKSPACE_SETTINGS_EXTENSION : null);
|
||||
|
|
Loading…
Reference in New Issue