Browse Source

Fix input map settings theming

Yuri Rubinsky 3 năm trước cách đây
mục cha
commit
1ab7ad323f
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      editor/action_map_editor.cpp

+ 3 - 0
editor/action_map_editor.cpp

@@ -1061,6 +1061,9 @@ void ActionMapEditor::_notification(int p_what) {
 		case NOTIFICATION_ENTER_TREE:
 		case NOTIFICATION_THEME_CHANGED: {
 			action_list_search->set_right_icon(get_theme_icon(SNAME("Search"), SNAME("EditorIcons")));
+			if (!actions_cache.is_empty()) {
+				update_action_list();
+			}
 		} break;
 	}
 }