промежуточный. перенос настроек в проект. есть баги. завтра доделываю, версия не вполне рабочая
This commit is contained in:
@@ -6,7 +6,6 @@ import _VisualDVM.Constants;
|
||||
import _VisualDVM.Current;
|
||||
import _VisualDVM.Global;
|
||||
import _VisualDVM.GlobalData.DBLastProject.DBLastProject;
|
||||
import _VisualDVM.GlobalData.Settings.SettingName;
|
||||
import _VisualDVM.Passes.PassCode;
|
||||
import _VisualDVM.ProjectData.Files.LanguageStyle;
|
||||
import _VisualDVM.ProjectData.Project.db_project_info;
|
||||
@@ -108,9 +107,7 @@ public class OpenCurrentProject extends Pass<db_project_info> {
|
||||
if (root_changes)
|
||||
Global.mainModule.set(Current.Root, new_root);
|
||||
Global.mainModule.getPass(PassCode.UpdateProperty).Do("ProjectsSearchDirectory", dir.getParent());
|
||||
Global.mainModule.getPass(PassCode.UpdateSetting).Do(
|
||||
SettingName.FREE_FORM, target.style.equals(LanguageStyle.free) ? "1" : "0")
|
||||
;
|
||||
target.sapforProperties.FREE_FORM = target.style.equals(LanguageStyle.free);
|
||||
DBLastProject lastProject;
|
||||
if ((Global.mainModule.getDb()).lastProjects.containsKey(target.Home.getAbsolutePath())) {
|
||||
lastProject = Global.mainModule.getDb().lastProjects.get(target.Home.getAbsolutePath());
|
||||
|
||||
Reference in New Issue
Block a user