File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -319,7 +319,6 @@ local function handleModEnabledStateChange(mod, enabling)
319319 updateLabelTextForDependencies (mod )
320320 updateWarningButtonForMod (mod )
321321 updateWarningButtonForDependents (mod )
322- updateEnabledModCountLabel ()
323322end
324323
325324-- enable mods on the UI
@@ -330,6 +329,7 @@ local function enableMods(mods)
330329 end
331330 end
332331
332+ updateEnabledModCountLabel ()
333333 writeBlacklist ()
334334end
335335
@@ -346,6 +346,7 @@ local function disableMods(mods)
346346 end
347347 end
348348
349+ updateEnabledModCountLabel ()
349350 writeBlacklist ()
350351end
351352
687688-- disables all mods then enables mods from preset
688689local function applyPreset (name , disableAll )
689690 if disableAll then
690- disableAllMods ( )
691+ disableMods ( scene . modsByPath )
691692 end
692693 name = name :gsub (" %p" , " %%%1" ) -- escape special characters
693694 local root = config .installs [config .install ].path
You can’t perform that action at this time.
0 commit comments