diff --git a/app_state.py b/app_state.py index 99a9c72..ff7c07c 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.062" +VERSION = "0.0.0.063" 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 3f3aba1..140ceda 100644 --- a/main.py +++ b/main.py @@ -2118,10 +2118,12 @@ def refresh_palette_kits(): palette_tree.delete(item) if not palette_kit_names: - palette_status.config( - text="No kits found — check Sedona home" if app_state.SEDONA_HOME - else "Set Sedona home in Preferences" - ) + if app_state.xml_root_element is None: + palette_status.config(text="") + elif not app_state.SEDONA_HOME: + palette_status.config(text="Set Sedona home in Preferences") + else: + palette_status.config(text="No kits found — check Sedona home") palette_kit_var.set("") return