diff options
-rw-r--r-- | plugins/restoretabs.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/restoretabs.lua b/plugins/restoretabs.lua index 9607169..6776e2c 100644 --- a/plugins/restoretabs.lua +++ b/plugins/restoretabs.lua @@ -29,7 +29,7 @@ RootView.update = function(self) end table.insert(tab_history, closing_filename) if #tab_history > history_size then - tab_history.remove(tab_history, 1) + table.remove(tab_history, 1) end end old_close(self, root, view) |