fixing search in messages like join, part, etc...
[quassel.git] / src / qtui / chatviewsearchcontroller.cpp
index 1290d65..c732486 100644 (file)
@@ -190,8 +190,8 @@ void ChatViewSearchController::checkMessagesForHighlight(int start, int end) {
       index = model->index(row, 0);
       if(!checkType((Message::Type)index.data(MessageModel::TypeRole).toInt()))
        continue;
-      highlightLine(_scene->chatLine(row));
     }
+    highlightLine(_scene->chatLine(row));
   }
 }