Commit 8666aaab authored by Kåre Särs's avatar Kåre Särs
Browse files

Do not crash when looking-up a word without the project tool-view

BUG: 371976
parent 9ee94fde
......@@ -494,6 +494,9 @@ QString KateProjectPluginView::currentWord() const
void KateProjectPluginView::slotProjectIndex()
if (!m_toolView) {
const QString word = currentWord();
if (!word.isEmpty()) {
auto tabView = qobject_cast<QTabWidget*>(m_stackedProjectInfoViews->currentWidget());
Supports Markdown
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