no message

This commit is contained in:
2024-10-12 00:17:51 +03:00
parent f317ab1aa1
commit c826b4a4bd
102 changed files with 372 additions and 520 deletions

View File

@@ -4,6 +4,7 @@ import Common.Current_;
import Common.Utils.Utils_;
import _VisualDVM.Current;
import Common.Visual.Windows.Dialog.Dialog;
import _VisualDVM.Global;
import _VisualDVM.GlobalData.Compiler.Compiler;
import _VisualDVM.GlobalData.Compiler.CompilerType;
import _VisualDVM.GlobalData.CompilerEnvironment.CompilerEnvironment;
@@ -82,13 +83,13 @@ public class PickCompilerEnvironments extends Pass<String> {
confEnv.run_configuration_id = Current.getRunConfiguration().id;
confEnv.name = compilerEnv.name;
confEnv.value = compilerEnv.value;
Utils_.db.Insert(confEnv);
Global.mainModule.getDb().Insert(confEnv);
} else {
confEnv = ((GlobalDatabase) Utils_.db).environmentValues.getEnvByName(compilerEnv.name);
confEnv = (Global.mainModule.getDb()).environmentValues.getEnvByName(compilerEnv.name);
if (confEnv != null) {
confEnv.name = compilerEnv.name;
confEnv.value = compilerEnv.value;
Utils_.db.Update(confEnv);
Global.mainModule.getDb().Update(confEnv);
}
}
}
@@ -96,6 +97,6 @@ public class PickCompilerEnvironments extends Pass<String> {
}
@Override
protected void showDone() throws Exception {
((GlobalDatabase) Utils_.db).environmentValues.ShowUI();
(Global.mainModule.getDb()).environmentValues.ShowUI();
}
}