Commit b3e4bd60 authored by Christoph Cullmann's avatar Christoph Cullmann 🍨
Browse files

fix unit test

did break one variant of closing, no idea why,
but therefore we have the tests
parent 87314996
Pipeline #237378 failed with stage
in 10 minutes and 9 seconds
......@@ -576,6 +576,13 @@ void KateViewSpace::closeDocument(KTextEditor::Document *doc)
documentDestroyed(doc);
}
}
/**
* if this was the last doc, let viewManager know we are empty
*/
if (m_registeredDocuments.isEmpty() && m_tabBar->count() == 0) {
Q_EMIT viewSpaceEmptied(this);
}
}
bool KateViewSpace::acceptsDroppedTab(const QMimeData *md)
......
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