fix(paste): paste into empty root directory
This commit is contained in:
parent
9d241e5f58
commit
059e4cadd6
@ -145,7 +145,7 @@ end
|
|||||||
local function do_paste(node, action_type, action_fn)
|
local function do_paste(node, action_type, action_fn)
|
||||||
node = lib.get_last_group_node(node)
|
node = lib.get_last_group_node(node)
|
||||||
if node.name == ".." then
|
if node.name == ".." then
|
||||||
return
|
node = node.parent or core.get_explorer()
|
||||||
end
|
end
|
||||||
local clip = clipboard[action_type]
|
local clip = clipboard[action_type]
|
||||||
if #clip == 0 then
|
if #clip == 0 then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user