Don't reload current file
This commit is contained in:
parent
2d75690773
commit
7e6d996a9d
@ -29,7 +29,7 @@ local function hflip()
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
for i = 1, #exts do
|
for i = 1, #exts - 1 do
|
||||||
local j = (i + ext_index - 1) % #exts + 1
|
local j = (i + ext_index - 1) % #exts + 1
|
||||||
local next_path = name .. exts[j]
|
local next_path = name .. exts[j]
|
||||||
if file_exists(next_path) then
|
if file_exists(next_path) then
|
||||||
|
Loading…
Reference in New Issue
Block a user