Remove NOTIFICATION_ENTER_TREE when NOTIFICATION_THEME_CHANGED is used
This commit is contained in:
@ -748,7 +748,6 @@ void TextShaderEditor::_prepare_edit_menu() {
|
||||
|
||||
void TextShaderEditor::_notification(int p_what) {
|
||||
switch (p_what) {
|
||||
case NOTIFICATION_ENTER_TREE:
|
||||
case NOTIFICATION_THEME_CHANGED: {
|
||||
site_search->set_button_icon(get_editor_theme_icon(SNAME("ExternalLink")));
|
||||
} break;
|
||||
|
||||
Reference in New Issue
Block a user