Browser: Resolve references in Access Confirm dialog

This commit is contained in:
varjolintu 2024-07-10 07:41:12 +03:00 committed by Jonathan White
parent 672a9fe87f
commit 5351392237

View File

@ -74,7 +74,8 @@ void BrowserAccessControlDialog::setEntries(const QList<Entry*>& entriesToConfir
void BrowserAccessControlDialog::addEntryToList(Entry* entry, int row)
{
auto item = new QTableWidgetItem();
item->setText(entry->title() + " - " + entry->username());
item->setText(entry->resolveMultiplePlaceholders(entry->title()) + " - "
+ entry->resolveMultiplePlaceholders(entry->username()));
item->setData(Qt::UserRole, row);
item->setFlags(item->flags() | Qt::ItemIsSelectable);
m_ui->itemsTable->setItem(row, 0, item);