aboutsummaryrefslogtreecommitdiff
path: root/builtin/fstk/tabview.lua
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/fstk/tabview.lua')
-rw-r--r--builtin/fstk/tabview.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/fstk/tabview.lua b/builtin/fstk/tabview.lua
index c65f6dd7f..72551afd7 100644
--- a/builtin/fstk/tabview.lua
+++ b/builtin/fstk/tabview.lua
@@ -46,7 +46,7 @@ local function add_tab(self,tab)
tabdata = {},
}
- table.insert(self.tablist,newtab)
+ self.tablist[#self.tablist + 1] = newtab
if self.last_tab_index == #self.tablist then
self.current_tab = tab.name