Commit 1f6b2d0b authored by Kåre Särs's avatar Kåre Särs Committed by Waqar Ahmed
Browse files

Do not set focus on nullptr

(cherry picked from commit 01e1673e)
parent bba9b4cd
......@@ -1145,7 +1145,9 @@ void KateBuildView::slotRunAfterBuild()
out->setWorkingDir(workDir);
out->runCommand(runCmd);
m_win->activeView()->setFocus();
if (m_win->activeView()) {
m_win->activeView()->setFocus();
}
}
static void appendPlainTextTo(QPlainTextEdit *edit, const QString &text)
......
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