Commit fe71e7e7 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Fix viewspace not closed when last is not a KTE::View

parent 11eb4631
......@@ -729,6 +729,11 @@ void KateViewSpace::closeTabRequest(int idx)
Q_EMIT m_viewManager->mainWindow()->widgetRemoved(widget);
// if this was the last doc, let viewManager know we are empty
if (m_registeredDocuments.isEmpty() && m_tabBar->count() == 0) {
Q_EMIT viewSpaceEmptied(this);
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