Browse Source

timeout in dont_close_windows_when_empty

close #68
master
Randy Lai 4 years ago
parent
commit
da705ccf9a
  1. 4
      project_manager.py

4
project_manager.py

@ -50,7 +50,9 @@ def dont_close_windows_when_empty(func):
s.set('close_windows_when_empty', False)
func(*args, **kwargs)
if close_windows_when_empty:
s.set('close_windows_when_empty', close_windows_when_empty)
sublime.set_timeout(
lambda: s.set('close_windows_when_empty', close_windows_when_empty),
1000)
return f

Loading…
Cancel
Save