mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Fix tab name for read-only databases.
This commit is contained in:
@@ -453,7 +453,7 @@ void DatabaseTabWidget::updateTabName(Database* db)
|
||||
|
||||
QString tabName;
|
||||
|
||||
if (dbStruct.saveToFilename) {
|
||||
if (dbStruct.saveToFilename || dbStruct.readOnly) {
|
||||
if (db->metadata()->name().isEmpty()) {
|
||||
tabName = dbStruct.fileName;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user