File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 599
599
local function start_scripts ()
600
600
for _ , script in ipairs (sm .start_queue ) do
601
601
activate (script )
602
+ for i = 1 , sm .page_status .num_buttons do
603
+ local name = script .metadata and script .metadata .name or script .name
604
+ if sm .widgets .labels [i ].label == name then
605
+ sm .widgets .buttons [i ].name = " pb_on"
606
+ break
607
+ end
608
+ end
602
609
end
603
610
sm .start_queue = {}
604
611
end
@@ -833,7 +840,6 @@ local function scan_repositories()
833
840
end
834
841
end
835
842
836
- start_scripts ()
837
843
update_script_update_choices ()
838
844
839
845
restore_log_level (old_log_level )
@@ -1224,6 +1230,7 @@ local function install_module()
1224
1230
log .msg (log .debug , " set run to true, loading preferences" )
1225
1231
load_preferences ()
1226
1232
scan_repositories ()
1233
+ start_scripts ()
1227
1234
1228
1235
restore_log_level (old_log_level )
1229
1236
end
You can’t perform that action at this time.
0 commit comments