You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-28 16:07:14 +00:00
Do not use theme to set LineEdit right_icon
This commit is contained in:
@@ -2046,7 +2046,7 @@ void ProjectListFilter::_filter_option_selected(int p_idx) {
|
||||
void ProjectListFilter::_notification(int p_what) {
|
||||
|
||||
if (p_what == NOTIFICATION_ENTER_TREE) {
|
||||
search_box->add_icon_override("right_icon", get_icon("Search", "EditorIcons"));
|
||||
search_box->set_right_icon(get_icon("Search", "EditorIcons"));
|
||||
search_box->set_clear_button_enabled(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user