You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Remove NOTIFICATION_ENTER_TREE when NOTIFICATION_THEME_CHANGED is used
This commit is contained in:
@@ -41,7 +41,6 @@ void PackedSceneEditor::_on_open_scene_pressed() {
|
||||
|
||||
void PackedSceneEditor::_notification(int p_what) {
|
||||
switch (p_what) {
|
||||
case NOTIFICATION_ENTER_TREE:
|
||||
case NOTIFICATION_THEME_CHANGED: {
|
||||
open_scene_button->set_button_icon(get_editor_theme_icon(SNAME("PackedScene")));
|
||||
} break;
|
||||
|
||||
Reference in New Issue
Block a user