Skip to content

Commit 3e2d4c9

Browse files
committed
tools/script_manager.lua - Documented more fields for the sm.scripts table
Removed extra declaration of check_update preference
1 parent cd1d623 commit 3e2d4c9

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

tools/script_manager.lua

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -104,17 +104,6 @@ dt.preferences.register(MODULE, "check_update", "bool",
104104

105105
local check_for_updates = dt.preferences.read(MODULE, "check_update", "bool")
106106

107-
-- - - - - - - - - - - - - - - - - - - - - - - -
108-
-- P R E F E R E N C E S
109-
-- - - - - - - - - - - - - - - - - - - - - - - -
110-
111-
dt.preferences.register(MODULE, "check_update", "bool",
112-
"check for updated scripts on start up",
113-
"automatically update scripts to correct version",
114-
true)
115-
116-
local check_for_updates = dt.preferences.read(MODULE, "check_update", "bool")
117-
118107
-- - - - - - - - - - - - - - - - - - - - - - - -
119108
-- L O G L E V E L
120109
-- - - - - - - - - - - - - - - - - - - - - - - -
@@ -170,6 +159,8 @@ sm.categories = {}
170159
storage_name name of the exporter (in the exporter storage menu)
171160
has_action true if it creates an action
172161
action_name name on the button
162+
has_select true if it creates a select
163+
select_name name on the button
173164
has_event true if it creates an event handler
174165
event_type type of event, shortcut, post-xxx, pre-xxx
175166
callback name of the callback routine

0 commit comments

Comments
 (0)