Merge pull request #97820 from passivestar/quick-open-bg

Fix quick open background panel style
This commit is contained in:
Rémi Verschelde 2024-10-04 22:44:00 +02:00
commit db66bd35af
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -709,7 +709,7 @@ void QuickOpenResultContainer::_notification(int p_what) {
file_details_path->add_theme_color_override(SceneStringName(font_color), text_color);
no_results_label->add_theme_color_override(SceneStringName(font_color), text_color);
panel_container->add_theme_style_override(SceneStringName(panel), get_theme_stylebox(SNAME("QuickOpenBackgroundPanel"), EditorStringName(EditorStyles)));
panel_container->add_theme_style_override(SceneStringName(panel), get_theme_stylebox(SceneStringName(panel), SNAME("Tree")));
if (content_display_mode == QuickOpenDisplayMode::LIST) {
display_mode_toggle->set_icon(get_editor_theme_icon(SNAME("FileThumbnail")));