mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-05 13:37:43 +03:00
Add option in settings for using group icons for newly created entries.
Closes #174
This commit is contained in:
parent
967a9f0195
commit
ad26d962dc
4 changed files with 17 additions and 2 deletions
|
@ -220,6 +220,10 @@ void DatabaseWidget::createEntry()
|
|||
|
||||
void DatabaseWidget::setIconFromParent()
|
||||
{
|
||||
if (!config()->get("UseGroupIconOnEntryCreation").toBool()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (m_newParent->iconNumber() == Group::DefaultIconNumber && m_newParent->iconUuid().isNull()) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue