Skip to content

Commit

Permalink
Increase delay to restore settings/themes
Browse files Browse the repository at this point in the history
This commit gives ST a bit more time to reload (many) packages, before restoring
color scheme and theme settings (and resume indexer).
  • Loading branch information
deathaxe committed Jul 27, 2023
1 parent 86814fe commit 834f292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package_control/package_disabler.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def reenable_packages(package_actions):
# re-enable packages, making errors less likely
PackageDisabler.restore_id += 1
sublime.set_timeout_async(functools.partial(
PackageDisabler.restore_settings, PackageDisabler.restore_id), 1000)
PackageDisabler.restore_settings, PackageDisabler.restore_id), 4000)

@staticmethod
def init_default_settings():
Expand Down

0 comments on commit 834f292

Please sign in to comment.