From d16a9602f315bdb8ff9cda5f05e790948928c2bb Mon Sep 17 00:00:00 2001 From: 20kdc Date: Fri, 30 Mar 2018 18:43:11 +0100 Subject: [PATCH] Fix app-control advanced settings panel Whoops. --- code/apps/app-control.lua | 7 +++---- code/data/app-claw/local.lua | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/code/apps/app-control.lua b/code/apps/app-control.lua index 1b283e9..85fa9e9 100644 --- a/code/apps/app-control.lua +++ b/code/apps/app-control.lua @@ -113,11 +113,10 @@ local advPage = 1 local advPlusH = false local function advAsker(info, def, r, parent) + info = unicode.safeTextFormat(info) return function () return 25, 2, nil, neoux.tcwindow(25, 2, { - neoux.tcrawview(1, 1, { - unicode.safeTextFormat(info) - }), + neoux.tcrawview(1, 1, {info}), neoux.tcfield(1, 2, 25, function (tx) def = tx or def return def @@ -152,7 +151,7 @@ local function advGen() currentGen = advAsker("setting ID", "my.setting", function (r) settings.setSetting(r, "") end, currentGen) - w.reset(advGen()) + w.reset(currentGen()) end), } local ofs = (advPage - 1) * 7 diff --git a/code/data/app-claw/local.lua b/code/data/app-claw/local.lua index a40a7dc..16ae45f 100644 --- a/code/data/app-claw/local.lua +++ b/code/data/app-claw/local.lua @@ -92,7 +92,7 @@ return { }, ["neo-coreapps"] = { desc = "KittenOS NEO Core Apps", - v = 1, + v = 2, deps = { "neo" },