From 17ff524acb6f93cd3ca351271417560b8aa31147 Mon Sep 17 00:00:00 2001
From: Dmitry Sapozhnikov <11535558+o-sdn-o@users.noreply.github.com>
Date: Mon, 16 Dec 2024 19:11:45 +0500
Subject: [PATCH] Fix scripting
---
src/vtm.hpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/vtm.hpp b/src/vtm.hpp
index dcee39d297..5de37d13ac 100644
--- a/src/vtm.hpp
+++ b/src/vtm.hpp
@@ -1652,6 +1652,7 @@ namespace netxs::app::vtm
auto vtm_set(eccc& /*script*/, qiew args)
{
auto appconf = xml::settings{ " " };
+ appconf.cd("item");
auto itemptr = appconf.homelist.front();
auto appspec = desk::spec{ .fixed = true,
.winform = shared::win::state::normal,
@@ -1716,6 +1717,7 @@ namespace netxs::app::vtm
auto vtm_run(eccc& script, qiew args)
{
auto appconf = xml::settings{ " " };
+ appconf.cd("item");
auto itemptr = appconf.homelist.front();
auto appspec = desk::spec{ .hidden = true,
.winform = shared::win::state::normal,