diff --git a/src/plugins/find/searchresulttreemodel.cpp b/src/plugins/find/searchresulttreemodel.cpp
index 141ff24fa512be6062d88fa84b7e8edd473c7a5e..ce9d6f9fc7f7e0f7e6ac242afef17176a96d7343 100644
--- a/src/plugins/find/searchresulttreemodel.cpp
+++ b/src/plugins/find/searchresulttreemodel.cpp
@@ -252,12 +252,10 @@ QVariant SearchResultTreeModel::data(const SearchResultTreeItem *row, int role)
             result = QVariant();
         break;
     case Qt::TextColorRole:
-        if (row->item.useTextEditorFont)
-            result = m_color.textForeground;
+        result = m_color.textForeground;
         break;
     case Qt::BackgroundRole:
-        if (row->item.useTextEditorFont)
-            result = m_color.textBackground;
+        result = m_color.textBackground;
         break;
     case ItemDataRoles::ResultLineRole:
     case Qt::DisplayRole:
@@ -273,12 +271,10 @@ QVariant SearchResultTreeModel::data(const SearchResultTreeItem *row, int role)
         result = row->item.icon;
         break;
     case ItemDataRoles::ResultHighlightBackgroundColor:
-        if (row->item.useTextEditorFont)
-            result = m_color.highlightBackground;
+        result = m_color.highlightBackground;
         break;
     case ItemDataRoles::ResultHighlightForegroundColor:
-        if (row->item.useTextEditorFont)
-            result = m_color.highlightForeground;
+        result = m_color.highlightForeground;
         break;
     case ItemDataRoles::SearchTermStartRole:
         result = row->item.textMarkPos;
diff --git a/src/plugins/find/searchresulttreeview.cpp b/src/plugins/find/searchresulttreeview.cpp
index 2fa0df88569a16a8821fa671ff77c07f2fe4372a..281014e95b8aa8cef2eab976e8f06bfece6687da 100644
--- a/src/plugins/find/searchresulttreeview.cpp
+++ b/src/plugins/find/searchresulttreeview.cpp
@@ -61,6 +61,10 @@ void SearchResultTreeView::setAutoExpandResults(bool expand)
 void SearchResultTreeView::setTextEditorFont(const QFont &font, const SearchResultColor color)
 {
     m_model->setTextEditorFont(font, color);
+
+    QPalette p = palette();
+    p.setColor(QPalette::Base, color.textBackground);
+    setPalette(p);
 }
 
 void SearchResultTreeView::clear()