Commit 32d900bf authored by Christoph Cullmann's avatar Christoph Cullmann

remove even more flicker

parent a0524345
......@@ -260,13 +260,16 @@ bool KateDocManager::closeDocuments(const QList<KTextEditor::Document *> documen
emit documentsDeleted(documents.mid(last));
// never ever empty the whole document list
* never ever empty the whole document list
* do this before documentsDeleted is emited, to have no flicker
if (m_docList.isEmpty()) {
emit documentsDeleted(documents.mid(last));
return success;
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