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/tile_map_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/tile_map_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/tile_map_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/tile_map_editor_plugin.cpp b/editor/plugins/tile_map_editor_plugin.cpp index 78f73bbdba..101dc3037f 100644 --- a/editor/plugins/tile_map_editor_plugin.cpp +++ b/editor/plugins/tile_map_editor_plugin.cpp @@ -73,7 +73,7 @@ void TileMapEditor::_notification(int p_what) { rotate_180->set_icon(get_icon("Rotate180", "EditorIcons")); rotate_270->set_icon(get_icon("Rotate270", "EditorIcons")); - 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); PopupMenu *p = options->get_popup(); |
