Palette: refresh kit list after opening a file
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.063"
|
VERSION = "0.0.0.064"
|
||||||
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
|
||||||
|
|||||||
@@ -1573,6 +1573,7 @@ def on_tree_filled():
|
|||||||
# The root row is new after every rebuild, so its colour has to be reapplied.
|
# The root row is new after every rebuild, so its colour has to be reapplied.
|
||||||
refresh_dirty_display()
|
refresh_dirty_display()
|
||||||
fit_tree_column(app_state.tree)
|
fit_tree_column(app_state.tree)
|
||||||
|
refresh_palette_kits()
|
||||||
|
|
||||||
if app_state.current_file_path != _history_file_path:
|
if app_state.current_file_path != _history_file_path:
|
||||||
_history_file_path = app_state.current_file_path
|
_history_file_path = app_state.current_file_path
|
||||||
|
|||||||
Reference in New Issue
Block a user