From 5045cfbe3503e7a804e52366a934875bde0f7252 Mon Sep 17 00:00:00 2001 From: Arda Aydin Date: Tue, 8 Sep 2026 22:11:35 +0300 Subject: [PATCH] Palette: refresh kit list after opening a file Co-Authored-By: Claude Opus 4.6 --- app_state.py | 2 +- main.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app_state.py b/app_state.py index ff7c07c..a5f425b 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.063" +VERSION = "0.0.0.064" 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 140ceda..caaa47f 100644 --- a/main.py +++ b/main.py @@ -1573,6 +1573,7 @@ def on_tree_filled(): # The root row is new after every rebuild, so its colour has to be reapplied. refresh_dirty_display() fit_tree_column(app_state.tree) + refresh_palette_kits() if app_state.current_file_path != _history_file_path: _history_file_path = app_state.current_file_path