Skip to content

Commit

Permalink
fix: configurator when it's running right after installation
Browse files Browse the repository at this point in the history
  • Loading branch information
equinusocio committed Aug 15, 2016
1 parent b5389af commit ad8d345
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions mt_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,23 @@ def show_popup(self, menu):
settings = sublime.load_settings('Preferences.sublime-settings')
popup = []

marked = settings.get('theme_config_marked', False)
unmarked = settings.get('theme_config_unmarked', False)
radio_marked = settings.get('theme_config_radio_marked', False)
radio_unmarked = settings.get('theme_config_radio_unmarked', False)

if marked is False:
marked = MARKED

if unmarked is False:
unmarked = UNMARKED

if radio_marked is False:
radio_marked = RADIO_MARKED

if radio_unmarked is False:
radio_unmarked = RADIO_UNMARKED

if menu != 'Main':
popup = [BACK]

Expand Down

0 comments on commit ad8d345

Please sign in to comment.