mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-22 11:17:31 +01:00
see #2487 fixed crash that happened when user created new cluster from member firewalls that had locked interfaces
;
This commit is contained in:
parent
e4cf4d6447
commit
677173e030
@ -1,3 +1,9 @@
|
||||
2011-06-09 Vadim Kurland <vadim@netcitadel.com>
|
||||
|
||||
* fixed several GUI crashes that happened when user performed
|
||||
various operations on the object tree that contained locked
|
||||
objects. see #2487
|
||||
|
||||
2011-06-04 vadim <vadim@netcitadel.com>
|
||||
|
||||
* FWWindow_editor.cpp (openEditor): this change is a part of the
|
||||
|
||||
@ -271,8 +271,11 @@ void newClusterDialog::createNewCluster()
|
||||
pp->closeRuleSet(current_ruleset);
|
||||
}
|
||||
|
||||
db->setIgnoreReadOnlyFlag(true);
|
||||
|
||||
FWObject *fwgroup =
|
||||
FWBTree().getStandardSlotForObject(parent->getLibrary(), Firewall::TYPENAME);
|
||||
FWBTree().getStandardSlotForObject(parent->getLibrary(),
|
||||
Firewall::TYPENAME);
|
||||
|
||||
foreach(fwpair member, member_firewalls)
|
||||
{
|
||||
@ -306,6 +309,8 @@ void newClusterDialog::createNewCluster()
|
||||
deleteRuleSets(Routing::TYPENAME, fw);
|
||||
}
|
||||
|
||||
db->setIgnoreReadOnlyFlag(false);
|
||||
|
||||
FWObject *first_policy = ncl->getFirstByType(Policy::TYPENAME);
|
||||
QCoreApplication::postEvent(
|
||||
mw, new openRulesetEvent(filename, first_policy->getId()));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user