Commit bbfedcf2 authored by Georg Gadinger's avatar Georg Gadinger 🐾
Browse files

Fix assertion when closing the last document in a split view

documentDestroyed is already called through
KateViewManager::deleteView (which in turn calls
KateViewSpace::removeView)
parent 0b667f12
Pipeline #142486 passed with stage
in 3 minutes and 34 seconds
......@@ -500,8 +500,6 @@ void KateViewSpace::closeDocument(KTextEditor::Document *doc)
// We have other views of this doc in other viewspaces
// Just remove the view
m_viewManager->deleteView(it->second);
// Clean up this doc from this viewspace
documentDestroyed(doc);
}
/**
......
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