You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Remove NOTIFICATION_ENTER_TREE when NOTIFICATION_THEME_CHANGED is used
This commit is contained in:
@@ -3375,7 +3375,6 @@ void ThemeTypeEditor::_add_type_dialog_selected(const String p_type_name) {
|
||||
|
||||
void ThemeTypeEditor::_notification(int p_what) {
|
||||
switch (p_what) {
|
||||
case NOTIFICATION_ENTER_TREE:
|
||||
case NOTIFICATION_THEME_CHANGED: {
|
||||
add_type_button->set_button_icon(get_editor_theme_icon(SNAME("Add")));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user