You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Remove NOTIFICATION_ENTER_TREE when NOTIFICATION_THEME_CHANGED is used
This commit is contained in:
@@ -67,7 +67,6 @@ void OpenXRActionSetEditor::_theme_changed() {
|
||||
|
||||
void OpenXRActionSetEditor::_notification(int p_what) {
|
||||
switch (p_what) {
|
||||
case NOTIFICATION_ENTER_TREE:
|
||||
case NOTIFICATION_THEME_CHANGED: {
|
||||
_theme_changed();
|
||||
panel->add_theme_style_override(SceneStringName(panel), get_theme_stylebox(SceneStringName(panel), SNAME("TabContainer")));
|
||||
|
||||
Reference in New Issue
Block a user