mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-27 16:29:44 -05:00
! binds stronger than ==
This should just avoid useless copying if more than 1 attribute is selected (and the option to copy attributes is unavailable). This also fixes a clang warning.
This commit is contained in:
parent
2e76385cae
commit
3a0648cf25
@ -227,7 +227,7 @@ void MainWindow::updateCopyAttributesMenu()
|
||||
return;
|
||||
}
|
||||
|
||||
if (!dbWidget->numberOfSelectedEntries() == 1) {
|
||||
if (dbWidget->numberOfSelectedEntries() != 1) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user