mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-04 17:05:23 -05:00
parent
bf2fd63131
commit
cd1192b409
@ -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…
x
Reference in New Issue
Block a user