mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Remove NOTIFICATION_ENTER_TREE when NOTIFICATION_THEME_CHANGED is used
This commit is contained in:
parent
1a1cc0f7b0
commit
d32d2e9b51
37 changed files with 7 additions and 72 deletions
|
|
@ -361,7 +361,6 @@ void ActionMapEditor::drop_data_fw(const Point2 &p_point, const Variant &p_data,
|
|||
|
||||
void ActionMapEditor::_notification(int p_what) {
|
||||
switch (p_what) {
|
||||
case NOTIFICATION_ENTER_TREE:
|
||||
case NOTIFICATION_THEME_CHANGED: {
|
||||
action_list_search->set_right_icon(get_editor_theme_icon(SNAME("Search")));
|
||||
add_button->set_button_icon(get_editor_theme_icon(SNAME("Add")));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue