summaryrefslogtreecommitdiff
path: root/builtin/fstk/ui.lua
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/fstk/ui.lua')
-rw-r--r--builtin/fstk/ui.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/builtin/fstk/ui.lua b/builtin/fstk/ui.lua
index 8128c5035..3ac0386ca 100644
--- a/builtin/fstk/ui.lua
+++ b/builtin/fstk/ui.lua
@@ -127,11 +127,13 @@ function ui.update()
end
if (active_toplevel_ui_elements > 1) then
- print("WARNING: ui manager detected more then one active ui element, self most likely isn't intended")
+ core.log("warning", "more than one active ui "..
+ "element, self most likely isn't intended")
end
if (active_toplevel_ui_elements == 0) then
- print("WARNING: not a single toplevel ui element active switching to default")
+ core.log("warning", "no toplevel ui element "..
+ "active; switching to default")
ui.childlist[ui.default]:show()
formspec = ui.childlist[ui.default]:get_formspec()
end