Palette: show no kits until a file is open
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ so later rebinding would only ever be seen by the module that did it.
|
|||||||
import configparser
|
import configparser
|
||||||
import os
|
import os
|
||||||
|
|
||||||
VERSION = "0.0.0.061"
|
VERSION = "0.0.0.062"
|
||||||
PROPERTIES_FILE = os.path.join(os.path.dirname(os.path.abspath(__file__)), "editor.properties")
|
PROPERTIES_FILE = os.path.join(os.path.dirname(os.path.abspath(__file__)), "editor.properties")
|
||||||
DEFAULT_GRID_SIZE = 10
|
DEFAULT_GRID_SIZE = 10
|
||||||
DEFAULT_ADD_TIMESTAMP = True
|
DEFAULT_ADD_TIMESTAMP = True
|
||||||
|
|||||||
@@ -2105,7 +2105,7 @@ def refresh_palette_kits():
|
|||||||
|
|
||||||
palette.invalidate()
|
palette.invalidate()
|
||||||
declared = list(app_state.active_schema_kits.keys())
|
declared = list(app_state.active_schema_kits.keys())
|
||||||
palette_kit_names = sorted(declared) if declared else palette.list_kits()
|
palette_kit_names = sorted(declared)
|
||||||
|
|
||||||
labels = []
|
labels = []
|
||||||
for kit_name in palette_kit_names:
|
for kit_name in palette_kit_names:
|
||||||
|
|||||||
Reference in New Issue
Block a user