Commit 96dcad5f authored by Gopalakrishna Bhat A's avatar Gopalakrishna Bhat A

Hide statusbar on close of a document

Currently when an open document is closed the status bar is shown in the initial window. This patch fixes this by hiding the status bar after the document is closed.

REVIEW: 106312
parent 8ab6c8b0
......@@ -506,6 +506,10 @@ void KoMainWindow::setRootDocument(KoDocument *doc, KoPart *rootPart)
dockWidget->setVisible(d->dockWidgetVisibilityMap.value(dockWidget));
}
}
if (!d->rootDocument) {
statusBar()->setVisible(false);
}
}
void KoMainWindow::updateReloadFileAction(KoDocument *doc)
......
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