Remove NOTIFICATION_ENTER_TREE when NOTIFICATION_THEME_CHANGED is used
This commit is contained in:
@ -41,7 +41,6 @@ void OpenXRSelectInteractionProfileDialog::_bind_methods() {
|
||||
|
||||
void OpenXRSelectInteractionProfileDialog::_notification(int p_what) {
|
||||
switch (p_what) {
|
||||
case NOTIFICATION_ENTER_TREE:
|
||||
case NOTIFICATION_THEME_CHANGED: {
|
||||
scroll->add_theme_style_override(SceneStringName(panel), get_theme_stylebox(SceneStringName(panel), SNAME("Tree")));
|
||||
} break;
|
||||
|
||||
Reference in New Issue
Block a user