mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-05-03 07:37:29 +02:00
fix: Rewrite boolean expression
This commit is contained in:
parent
d338d9690b
commit
b3857e2512
@ -558,7 +558,7 @@ FWObject* ObjectManipulator::newCluster(QUndoCommand* macro, bool fromSelected)
|
||||
fwvector.push_back(FWObject::cast(fw));
|
||||
ncd->setFirewallList(fwvector);
|
||||
}
|
||||
if ( ! ncd->exec() == QDialog::Accepted) return NULL;
|
||||
if ( ncd->exec() != QDialog::Accepted) return NULL;
|
||||
|
||||
FWObject *ncl = ncd->getNewCluster();
|
||||
delete ncd;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user