diff --git a/app_state.py b/app_state.py index f897b09..ee8a2b7 100644 --- a/app_state.py +++ b/app_state.py @@ -8,7 +8,7 @@ so later rebinding would only ever be seen by the module that did it. import configparser import os -VERSION = "0.0.0.060" +VERSION = "0.0.0.061" PROPERTIES_FILE = os.path.join(os.path.dirname(os.path.abspath(__file__)), "editor.properties") DEFAULT_GRID_SIZE = 10 DEFAULT_ADD_TIMESTAMP = True diff --git a/main.py b/main.py index 233bb87..756ff76 100644 --- a/main.py +++ b/main.py @@ -2100,11 +2100,12 @@ def populate_palette_types(event=None): def refresh_palette_kits(): - """Reloads the kit list from Sedona home. Also called after Preferences changes it.""" + """Reloads the kit list, showing only kits declared in the app's schema.""" global palette_kit_names palette.invalidate() - palette_kit_names = palette.list_kits() + declared = list(app_state.active_schema_kits.keys()) + palette_kit_names = sorted(declared) if declared else palette.list_kits() labels = [] for kit_name in palette_kit_names: