Remove NOTIFICATION_ENTER_TREE when NOTIFICATION_THEME_CHANGED is used

This commit is contained in:
kobewi 2024-03-21 14:39:50 +01:00
parent 1a1cc0f7b0
commit d32d2e9b51
37 changed files with 7 additions and 72 deletions

View file

@ -231,7 +231,6 @@ void OpenXRBindingModifierEditor::_bind_methods() {
void OpenXRBindingModifierEditor::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_ENTER_TREE:
case NOTIFICATION_THEME_CHANGED: {
rem_binding_modifier_btn->set_button_icon(get_theme_icon(SNAME("Remove"), EditorStringName(EditorIcons)));
} break;