From 4735be470a6fa13c4a189316bf1ff429bf3e6308 Mon Sep 17 00:00:00 2001 From: Bill Ferguson Date: Wed, 24 Jan 2024 13:16:42 -0500 Subject: [PATCH] tools/script_manager - don't set lib visibility unless we are in lighttable view --- tools/script_manager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/script_manager.lua b/tools/script_manager.lua index e65cd20..74697d5 100644 --- a/tools/script_manager.lua +++ b/tools/script_manager.lua @@ -397,7 +397,7 @@ local function activate(script) if err ~= true then log.msg(log.debug, "got lib data") script.data = err - if script.data.destroy_method and script.data.destroy_method == "hide" and script.data.show then + if script.data.destroy_method and script.data.destroy_method == "hide" and script.data.show and dt.gui.current_view().id == "lighttable" then script.data.show() end else