no message
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user