Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit e979e835 authored by Kåre Särs's avatar Kåre Särs Committed by Christoph Cullmann

S&R: Only highlight checked matches

+ Fix update timer not being singleShot.
parent 7b94470a
......@@ -519,6 +519,17 @@ void KatePluginSearchView::handleEsc(QEvent *e)
++it;
}
}
Results *curResults = qobject_cast<Results *>(m_ui.resultTabWidget->currentWidget());
if (!curResults) {
qWarning() << "This is a bug";
return;
}
QTreeWidgetItemIterator it(curResults->tree);
while (*it) {
(*it)->setCheckState(0, Qt::Unchecked);
++it;
}
}
void KatePluginSearchView::setSearchString(const QString &pattern)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment