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

@@ -23,7 +23,7 @@ public class UpdateSetting extends Pass<DBSetting> {
VFileChooser fileChooser = new VFileChooser("", "exe");
@Override
protected boolean canStart(Object... args) throws Exception {
target = ((GlobalDatabase) Utils_.db).settings.get(args[0]);
target = (Global.mainModule.getDb()).settings.get(args[0]);
NewValue = target.Value;
if (args.length == 1) {
//интерфейсный режим. получение по клику на пункт меню.
@@ -114,7 +114,7 @@ public class UpdateSetting extends Pass<DBSetting> {
@Override
protected void body() throws Exception {
target.Value = NewValue;
Utils_.db.Update(target);
Global.mainModule.getDb().Update(target);
}
@Override
protected void showDone() throws Exception {