Fix error in TileSetEditor

This commit is contained in:
kobewi
2026-02-21 00:10:50 +01:00
parent a19892054e
commit 404ab3e2bd
+3 -1
View File
@@ -367,7 +367,9 @@ void TileSetEditor::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_TRANSLATION_CHANGED: {
_update_sources_list();
_update_patterns_list();
if (tile_set.is_valid()) {
_update_patterns_list();
}
} break;
case NOTIFICATION_THEME_CHANGED: {