mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-25 07:19:42 -05:00
Group full path is now shown in the GUI
This commit is contained in:
parent
1391e347bb
commit
e6f1b891f5
@ -136,6 +136,11 @@ QVariant EntryModel::data(const QModelIndex& index, int role) const
|
||||
return entry->group()->name();
|
||||
}
|
||||
break;
|
||||
case ParentGroupPath:
|
||||
if (entry->group()) {
|
||||
return entry->group()->fullPath();
|
||||
}
|
||||
break;
|
||||
case Title:
|
||||
result = entry->resolveMultiplePlaceholders(entry->title());
|
||||
if (attr->isReference(EntryAttributes::TitleKey)) {
|
||||
@ -367,6 +372,8 @@ QVariant EntryModel::headerData(int section, Qt::Orientation orientation, int ro
|
||||
switch (section) {
|
||||
case ParentGroup:
|
||||
return tr("Group");
|
||||
case ParentGroupPath:
|
||||
return tr("Group full path");
|
||||
case Title:
|
||||
return tr("Title");
|
||||
case Username:
|
||||
@ -404,6 +411,8 @@ QVariant EntryModel::headerData(int section, Qt::Orientation orientation, int ro
|
||||
switch (section) {
|
||||
case ParentGroup:
|
||||
return tr("Group name");
|
||||
case ParentGroupPath:
|
||||
return tr("Group full path");
|
||||
case Title:
|
||||
return tr("Entry title");
|
||||
case Username:
|
||||
@ -434,8 +443,6 @@ QVariant EntryModel::headerData(int section, Qt::Orientation orientation, int ro
|
||||
return tr("Has TOTP");
|
||||
case Color:
|
||||
return tr("Background Color");
|
||||
case ParentGroupPath:
|
||||
return tr("Group full path");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user