From 706e1351aee88bb6aec18b794e7fa3ff2cd9c603 Mon Sep 17 00:00:00 2001 From: "kepler155c@gmail.com" Date: Thu, 3 Jan 2019 12:55:27 -0500 Subject: [PATCH] fix ui setTab --- milo/apis/storage.lua | 1 - milo/plugins/item.lua | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/milo/apis/storage.lua b/milo/apis/storage.lua index 1eae11e..d34021c 100644 --- a/milo/apis/storage.lua +++ b/milo/apis/storage.lua @@ -139,7 +139,6 @@ function Storage:saveConfiguration() v.adapter = nil end - -- TODO: Should be named 'storage' Config.update('storage', self.nodes) for k,v in pairs(t) do diff --git a/milo/plugins/item.lua b/milo/plugins/item.lua index b9a1371..7e330b1 100644 --- a/milo/plugins/item.lua +++ b/milo/plugins/item.lua @@ -39,9 +39,7 @@ function page:enable(item) v:setItem(item) end end - - self.tabs:selectTab(self.tabs[1]) - + self.tabs:selectTab(tabs[1]) UI.Page.enable(self) end