mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-29 01:28:47 -04:00
parent
bf2fd63131
commit
cd1192b409
1 changed files with 1 additions and 2 deletions
|
@ -873,8 +873,7 @@ bool DatabaseWidget::dbHasKey() const
|
||||||
bool DatabaseWidget::canDeleteCurrentGroup() const
|
bool DatabaseWidget::canDeleteCurrentGroup() const
|
||||||
{
|
{
|
||||||
bool isRootGroup = m_db->rootGroup() == m_groupView->currentGroup();
|
bool isRootGroup = m_db->rootGroup() == m_groupView->currentGroup();
|
||||||
bool isRecycleBin = m_db->metadata()->recycleBin() == m_groupView->currentGroup();
|
return !isRootGroup;
|
||||||
return !isRootGroup && !isRecycleBin;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool DatabaseWidget::isInSearchMode() const
|
bool DatabaseWidget::isInSearchMode() const
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue