mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-25 22:16:01 -05:00
Fix tab name for read-only databases.
This commit is contained in:
parent
b1fd99f4c4
commit
6327eaf587
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user