Clear edit dock after closing database

See issue #469.
This commit is contained in:
Martin Kleusberg
2017-01-06 19:18:29 +01:00
parent 35725b05e1
commit 72b1d8f47e

View File

@@ -530,6 +530,9 @@ bool MainWindow::fileClose()
browseTableSettings.clear();
defaultBrowseTableEncoding = QString();
// Clear edit dock
editDock->setCurrentIndex(QModelIndex());
// Reset the recordset label inside the Browse tab now
setRecordsetLabel();