diff options
| author | Łukasz Rutkowski <lukus178@gmail.com> | 2018-08-11 12:04:19 +0200 |
|---|---|---|
| committer | Łukasz Rutkowski <lukus178@gmail.com> | 2018-08-11 12:04:26 +0200 |
| commit | 81fb81de9d9fe7ae075bd06a3877d6cb452af67f (patch) | |
| tree | f753bd70228e21956d681d814acb9cfa687f150e /editor/plugins/asset_library_editor_plugin.cpp | |
| parent | e8a435c8cdc5778ebae5e66d983a7bc720f81e85 (diff) | |
| download | redot-engine-81fb81de9d9fe7ae075bd06a3877d6cb452af67f.tar.gz | |
Do not use theme to set LineEdit right_icon
Diffstat (limited to 'editor/plugins/asset_library_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/asset_library_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/asset_library_editor_plugin.cpp b/editor/plugins/asset_library_editor_plugin.cpp index b7dc82bfb0..ddd84aa563 100644 --- a/editor/plugins/asset_library_editor_plugin.cpp +++ b/editor/plugins/asset_library_editor_plugin.cpp @@ -554,7 +554,7 @@ void EditorAssetLibrary::_notification(int p_what) { error_tr->set_texture(get_icon("Error", "EditorIcons")); reverse->set_icon(get_icon("Sort", "EditorIcons")); - filter->add_icon_override("right_icon", get_icon("Search", "EditorIcons")); + filter->set_right_icon(get_icon("Search", "EditorIcons")); filter->set_clear_button_enabled(true); error_label->raise(); @@ -606,7 +606,7 @@ void EditorAssetLibrary::_notification(int p_what) { library_scroll_bg->add_style_override("panel", get_stylebox("bg", "Tree")); error_tr->set_texture(get_icon("Error", "EditorIcons")); reverse->set_icon(get_icon("Sort", "EditorIcons")); - filter->add_icon_override("right_icon", get_icon("Search", "EditorIcons")); + filter->set_right_icon(get_icon("Search", "EditorIcons")); filter->set_clear_button_enabled(true); } break; } |
