diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-09-15 02:21:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-15 02:21:33 +0200 |
commit | d423906c03e02d5682ca018c387c148437278902 (patch) | |
tree | 4708fd53b6645e3e5c67b165307e782219ca9370 /editor/editor_node.cpp | |
parent | 9b97c74f5024be86529019166cc76c309e541c25 (diff) | |
parent | d3527834f3731f816a2bc009f9dfe8064567e9da (diff) |
Merge pull request #22092 from akien-mga/video-toggle-regression
Fix video toggle UX issue
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r-- | editor/editor_node.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index b28d639a7c..d8e6f711ff 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -5446,13 +5446,6 @@ EditorNode::EditorNode() { video_driver_current = 0; for (int i = 0; i < video_drivers.get_slice_count(","); i++) { String driver = video_drivers.get_slice(",", i); - Ref<Texture> icon = get_class_icon(driver, ""); - if (icon.is_valid()) { - video_driver->add_icon_item(icon, ""); - } else { - video_driver->add_item(driver); - } - video_driver->add_item(driver); video_driver->set_item_metadata(i, driver); |