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 915789a6 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts

lspclient: check for valid active mark model before using

parent e2ee037a
......@@ -777,7 +777,7 @@ public:
{
auto widget = m_tabWidget->widget(index);
if (widget != m_diagnosticsTree) {
if (widget == m_markModel->parent()) {
if (m_markModel && widget == m_markModel->parent()) {
clearAllLocationMarks();
}
delete widget;
......
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