If documents are closed, but they had no top most view, keep the view. Only if the active view vanished, replace it by the first document.
author Joseph Wenninger
()
committer Joseph Wenninger
()
commit f8b6fb698376691f88a9bde40640314ae7e42297
tree 2d1320c958c37a7fcea97273e5377a3e95c0ea3f
parent c07f4c795f49f7080866224d9bbaca888c942e82
If documents are closed, but they had no top most view, keep the view. Only if the active view vanished, replace it by the first document.

BUG: 321132
kate/app/katedocmanager.cpp