mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-12-06 00:32:40 -08:00
Add convenience method EditWidget::setHeadline().
This commit is contained in:
1 parent
21a2e9583b
commit
82d697b657
5 files changed
+12
-8
No files matched your search
@@ -147,14 +147,14 @@ void EditEntryWidget::loadEntry(Entry* entry, bool create, bool history, const Q
|
||||
m_history = history;
|
||||
|
||||
if (history) {
|
||||
headlineLabel()->setText("Entry history");
|
||||
setHeadline("Entry history");
|
||||
}
|
||||
else {
|
||||
if (create) {
|
||||
headlineLabel()->setText(groupName+" > "+tr("Add entry"));
|
||||
setHeadline(groupName+" > "+tr("Add entry"));
|
||||
}
|
||||
else {
|
||||
headlineLabel()->setText(groupName+" > "+tr("Edit entry"));
|
||||
setHeadline(groupName+" > "+tr("Edit entry"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user