mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-26 22:36:59 -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;
|
QString tabName;
|
||||||
|
|
||||||
if (dbStruct.saveToFilename) {
|
if (dbStruct.saveToFilename || dbStruct.readOnly) {
|
||||||
if (db->metadata()->name().isEmpty()) {
|
if (db->metadata()->name().isEmpty()) {
|
||||||
tabName = dbStruct.fileName;
|
tabName = dbStruct.fileName;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user