@@ -321,7 +321,8 @@ void EntryPreviewWidget::setPasswordVisible(bool state)
321
321
322
322
void EntryPreviewWidget::setEntryNotesVisible (bool state)
323
323
{
324
- setNotesVisible (m_ui->entryNotesTextEdit , m_currentEntry->notes (), state);
324
+ setNotesVisible (
325
+ m_ui->entryNotesTextEdit , m_currentEntry->resolveMultiplePlaceholders (m_currentEntry->notes ()), state);
325
326
m_ui->toggleEntryNotesButton ->setIcon (icons ()->onOffIcon (" password-show" , state));
326
327
}
327
328
@@ -427,6 +428,8 @@ void EntryPreviewWidget::updateEntryAdvancedTab()
427
428
m_ui->entryAttributesTable ->item (i, 0 )->setFont (font);
428
429
m_ui->entryAttributesTable ->item (i, 0 )->setTextAlignment (Qt::AlignTop | Qt::AlignLeft);
429
430
431
+ auto value = m_currentEntry->resolveMultiplePlaceholders (attributes->value (key));
432
+
430
433
if (attributes->isProtected (key)) {
431
434
// only show the reveal button on protected attributes
432
435
auto button = new QToolButton ();
@@ -453,10 +456,10 @@ void EntryPreviewWidget::updateEntryAdvancedTab()
453
456
m_ui->entryAttributesTable ->setCellWidget (i, 1 , button);
454
457
m_ui->entryAttributesTable ->setItem (i, 2 , new QTableWidgetItem (QString (" \u25cf " ).repeated (6 )));
455
458
} else {
456
- m_ui->entryAttributesTable ->setItem (i, 2 , new QTableWidgetItem (attributes-> value (key) ));
459
+ m_ui->entryAttributesTable ->setItem (i, 2 , new QTableWidgetItem (value));
457
460
}
458
461
459
- m_ui->entryAttributesTable ->item (i, 2 )->setData (Qt::UserRole, attributes-> value (key) );
462
+ m_ui->entryAttributesTable ->item (i, 2 )->setData (Qt::UserRole, value);
460
463
m_ui->entryAttributesTable ->item (i, 2 )->setToolTip (tr (" Double click to copy value" ));
461
464
m_ui->entryAttributesTable ->item (i, 2 )->setTextAlignment (Qt::AlignTop | Qt::AlignLeft);
462
465
0 commit comments