Fix resolving placeholders in urls (#3281)
* Replace placeholders in URLs copied from popup menu on the entry preview widget. * Replace placeholders in URLs opened by double-clicking URL field in the entry table.
This commit is contained in:
@@ -202,7 +202,7 @@ void EntryPreviewWidget::updateEntryGeneralTab()
|
||||
const QString url = m_currentEntry->url();
|
||||
if (!url.isEmpty()) {
|
||||
// URL is well formed and can be opened in a browser
|
||||
m_ui->entryUrlLabel->setUrl(url);
|
||||
m_ui->entryUrlLabel->setUrl(m_currentEntry->resolveMultiplePlaceholders(url));
|
||||
m_ui->entryUrlLabel->setCursor(Qt::PointingHandCursor);
|
||||
m_ui->entryUrlLabel->setOpenExternalLinks(false);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user