Skip to content

Commit 254a205

Browse files
committed
only show when script list is shown and enable instead of hiding
1 parent 284a627 commit 254a205

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Export/Main.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,9 @@ function main:Init()
214214
clearScriptOutput()
215215
end) {
216216
shown = function()
217+
return not self.curDatFile
218+
end,
219+
enabled = function()
217220
return t_maxn(self.scriptOutput) > 0
218221
end
219222
}

0 commit comments

Comments
 (0)