diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index b9620f71..4e8d483c 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -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();