mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 11:00:44 -06:00
Activate attach menu item right after opening a database
The 'attach database' menu item was only activated after making changes to the database and saving them. With this commit it's activated right after opening a database, too.
This commit is contained in:
@@ -1416,6 +1416,7 @@ void MainWindow::setCurrentFile(const QString &fileName)
|
||||
setWindowFilePath(fileName);
|
||||
setWindowTitle(QApplication::applicationName() + " - " + QDir::toNativeSeparators(fileName));
|
||||
activateFields(true);
|
||||
dbState(db.getDirty());
|
||||
}
|
||||
|
||||
void MainWindow::addToRecentFilesMenu(const QString& filename)
|
||||
|
||||
Reference in New Issue
Block a user