no message
This commit is contained in:
@@ -73,13 +73,12 @@ public class Visualiser extends Component {
|
||||
System.exit(0);
|
||||
}
|
||||
public File getWorkspace() {
|
||||
if (!(Global.mainModule.getDb()).settings.get(SettingName.Workspace).toString().isEmpty()) {
|
||||
File workspace = new File(Global.mainModule.getDb().settings.get(SettingName.Workspace).toString());
|
||||
if (!Global.properties.Workspace.isEmpty()) {
|
||||
File workspace = new File(Global.properties.Workspace);
|
||||
if (workspace.exists())
|
||||
return workspace;
|
||||
else
|
||||
Global.mainModule.getPass(PassCode.UpdateSetting).Do(
|
||||
SettingName.Workspace, "");
|
||||
Global.mainModule.getPass(PassCode.UpdateProperty).Do("Workspace", "");
|
||||
}
|
||||
return Global.ProjectsDirectory;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user