Made RootView:open_doc() try to use previous node if current node is locked

This commit is contained in:
rxi
2020-05-22 15:50:27 +01:00
parent 35b642d434
commit e7320c2291
2 changed files with 4 additions and 1 deletions
-1
View File
@@ -111,7 +111,6 @@ end
function TreeView:on_mouse_pressed(button, x, y)
core.set_active_view(core.last_active_view)
if not self.hovered_item then
return
elseif self.hovered_item.type == "dir" then