mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-05 21:47:38 +03:00
Fix tab name for read-only databases.
This commit is contained in:
parent
b1fd99f4c4
commit
6327eaf587
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue