mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-28 08:49:42 -05:00
Fix edit entry header entity encoding
This commit is contained in:
parent
31ec840a8d
commit
a766052243
@ -36,6 +36,7 @@ EditWidget::EditWidget(QWidget* parent)
|
|||||||
headerLabelFont.setBold(true);
|
headerLabelFont.setBold(true);
|
||||||
headerLabelFont.setPointSize(headerLabelFont.pointSize() + 2);
|
headerLabelFont.setPointSize(headerLabelFont.pointSize() + 2);
|
||||||
headlineLabel()->setFont(headerLabelFont);
|
headlineLabel()->setFont(headerLabelFont);
|
||||||
|
headlineLabel()->setTextFormat(Qt::PlainText);
|
||||||
|
|
||||||
connect(m_ui->categoryList, SIGNAL(categoryChanged(int)),
|
connect(m_ui->categoryList, SIGNAL(categoryChanged(int)),
|
||||||
m_ui->stackedWidget, SLOT(setCurrentIndex(int)));
|
m_ui->stackedWidget, SLOT(setCurrentIndex(int)));
|
||||||
|
@ -280,15 +280,15 @@ void EditEntryWidget::loadEntry(Entry* entry, bool create, bool history, const Q
|
|||||||
m_history = history;
|
m_history = history;
|
||||||
|
|
||||||
if (history) {
|
if (history) {
|
||||||
setHeadline(QString("%1 > %2").arg(parentName.toHtmlEscaped(), tr("Entry history")));
|
setHeadline(QString("%1 > %2").arg(parentName, tr("Entry history")));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (create) {
|
if (create) {
|
||||||
setHeadline(QString("%1 > %2").arg(parentName.toHtmlEscaped(), tr("Add entry")));
|
setHeadline(QString("%1 > %2").arg(parentName, tr("Add entry")));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
setHeadline(QString("%1 > %2 > %3").arg(parentName.toHtmlEscaped(),
|
setHeadline(QString("%1 > %2 > %3").arg(parentName,
|
||||||
entry->title().toHtmlEscaped(), tr("Edit entry")));
|
entry->title(), tr("Edit entry")));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user