You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 17:36:07 +00:00
Do not use theme to set LineEdit right_icon
This commit is contained in:
@@ -196,7 +196,7 @@ void FileSystemDock::_notification(int p_what) {
|
||||
files->connect("item_activated", this, "_select_file");
|
||||
button_hist_next->connect("pressed", this, "_fw_history");
|
||||
button_hist_prev->connect("pressed", this, "_bw_history");
|
||||
search_box->add_icon_override("right_icon", get_icon("Search", ei));
|
||||
search_box->set_right_icon(get_icon("Search", ei));
|
||||
search_box->set_clear_button_enabled(true);
|
||||
|
||||
button_hist_next->set_icon(get_icon("Forward", ei));
|
||||
@@ -253,7 +253,7 @@ void FileSystemDock::_notification(int p_what) {
|
||||
button_hist_next->set_icon(get_icon("Forward", ei));
|
||||
button_hist_prev->set_icon(get_icon("Back", ei));
|
||||
|
||||
search_box->add_icon_override("right_icon", get_icon("Search", ei));
|
||||
search_box->set_right_icon(get_icon("Search", ei));
|
||||
search_box->set_clear_button_enabled(true);
|
||||
|
||||
if (new_mode != display_mode) {
|
||||
|
||||
Reference in New Issue
Block a user