mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-18 14:55:49 -04:00
Merge 2f594a5130e9cd33ad31847d372fe37b669f7d64 into af2479da8dc0ff0c7104c4ccde1715b1c562dfdc
This commit is contained in:
commit
381ca8b45c
@ -150,14 +150,13 @@ void BrowserAccessControlDialog::selectionChanged()
|
||||
|
||||
bool BrowserAccessControlDialog::areAllDisabled() const
|
||||
{
|
||||
auto areAllDisabled = true;
|
||||
for (const auto& item : getAllItems()) {
|
||||
if (item->flags() != Qt::NoItemFlags) {
|
||||
areAllDisabled = false;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return areAllDisabled;
|
||||
return true;
|
||||
}
|
||||
|
||||
QList<QTableWidgetItem*> BrowserAccessControlDialog::getAllItems() const
|
||||
|
Loading…
x
Reference in New Issue
Block a user