Commit 1d0f576f authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Fix crash when closing widget

parent d7448c31
Pipeline #259285 failed with stage
in 5 minutes and 50 seconds
......@@ -768,8 +768,9 @@ void KateViewSpace::closeTabRequest(int idx)
// if this was the last doc, let viewManager know we are empty
if (m_registeredDocuments.isEmpty() && m_tabBar->count() == 0) {
Q_EMIT viewSpaceEmptied(this);
} else {
documentCreatedOrDeleted(nullptr);
}
documentCreatedOrDeleted(nullptr);
}
return;
}
......
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