mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-06 21:44:32 -04:00
Add convenience method EditWidget::setHeadline().
This commit is contained in:
parent
21a2e9583b
commit
82d697b657
5 changed files with 12 additions and 8 deletions
|
@ -59,10 +59,10 @@ void EditGroupWidget::loadGroup(Group* group, bool create, Database* database)
|
|||
m_database = database;
|
||||
|
||||
if (create) {
|
||||
headlineLabel()->setText(tr("Add group"));
|
||||
setHeadline(tr("Add group"));
|
||||
}
|
||||
else {
|
||||
headlineLabel()->setText(tr("Edit group"));
|
||||
setHeadline(tr("Edit group"));
|
||||
}
|
||||
|
||||
m_mainUi->editName->setText(m_group->name());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue