mirror of
https://github.com/godotengine/godot.git
synced 2025-03-19 23:53:32 +08:00
Fix segfault on editor close up
This commit is contained in:
parent
1169196f04
commit
ba9d29ec62
@ -353,7 +353,9 @@ void FileSystemDock::_notification(int p_what) {
|
||||
|
||||
} break;
|
||||
case NOTIFICATION_THEME_CHANGED: {
|
||||
_update_display_mode(true);
|
||||
if (tree->is_visible_in_tree()) {
|
||||
_update_display_mode(true);
|
||||
}
|
||||
} break;
|
||||
case EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED: {
|
||||
// Update icons
|
||||
|
Loading…
x
Reference in New Issue
Block a user