mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-20 10:17:16 +01:00
parent
f3a252f813
commit
efa0bda4f5
@ -357,7 +357,16 @@ void ClusterGroupDialog::openParametersEditor()
|
||||
|
||||
if (dlg)
|
||||
{
|
||||
dlg->exec();
|
||||
if (dlg->exec() == QDialog::Accepted)
|
||||
{
|
||||
// modal dialog, dialog saves data into the object
|
||||
|
||||
// update object tree (if protocol type has changed, the
|
||||
// object properties summary text may have to change too)
|
||||
mw->activeProject()->updateObjectInTree(obj, true);
|
||||
changed();
|
||||
BaseObjectDialog::applyChanges();
|
||||
}
|
||||
delete dlg;
|
||||
}
|
||||
}
|
||||
|
||||
@ -321,7 +321,7 @@ void InterfaceDialog::loadFWObject(FWObject *o)
|
||||
|
||||
//apply->setEnabled( false );
|
||||
|
||||
init=false;
|
||||
init = false;
|
||||
}
|
||||
|
||||
void InterfaceDialog::validate(bool *res)
|
||||
@ -372,8 +372,6 @@ void InterfaceDialog::validate(bool *res)
|
||||
delete int_prop;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void InterfaceDialog::applyChanges()
|
||||
{
|
||||
Interface *s = Interface::cast(obj);
|
||||
@ -451,11 +449,13 @@ void InterfaceDialog::openIfaceDialog()
|
||||
{
|
||||
// modal dialog, dialog saves data into the object
|
||||
|
||||
// update object tree (if interface type has changed, the object properties
|
||||
// summary text may have to change too)
|
||||
// update object tree (if interface type has changed, the
|
||||
// object properties summary text may have to change too)
|
||||
mw->activeProject()->updateObjectInTree(obj, true);
|
||||
changed();
|
||||
BaseObjectDialog::applyChanges();
|
||||
}
|
||||
delete w;
|
||||
}
|
||||
catch (FWException &ex)
|
||||
{
|
||||
|
||||
@ -4811,6 +4811,7 @@ void PolicyCompiler_ipt::insertFailoverRule()
|
||||
Interface *other_iface =
|
||||
Interface::cast(FWObjectReference::getObject(*it));
|
||||
assert(other_iface);
|
||||
if (other_iface->getId() == fw_iface->getId()) continue;
|
||||
rule = addMgmtRule(other_iface,
|
||||
fw_iface,
|
||||
heartbeat_srv,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user