Add option in settings for using group icons for newly created entries.
Closes #174
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user