Skip to content

Commit ad8d345

Browse files
committed
fix: configurator when it's running right after installation
1 parent b5389af commit ad8d345

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

mt_config.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,23 @@ def show_popup(self, menu):
208208
settings = sublime.load_settings('Preferences.sublime-settings')
209209
popup = []
210210

211+
marked = settings.get('theme_config_marked', False)
212+
unmarked = settings.get('theme_config_unmarked', False)
213+
radio_marked = settings.get('theme_config_radio_marked', False)
214+
radio_unmarked = settings.get('theme_config_radio_unmarked', False)
215+
216+
if marked is False:
217+
marked = MARKED
218+
219+
if unmarked is False:
220+
unmarked = UNMARKED
221+
222+
if radio_marked is False:
223+
radio_marked = RADIO_MARKED
224+
225+
if radio_unmarked is False:
226+
radio_unmarked = RADIO_UNMARKED
227+
211228
if menu != 'Main':
212229
popup = [BACK]
213230

0 commit comments

Comments
 (0)