mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-09-14 00:49:09 +02:00
merge from the latest changes in release-4.2.1
This commit is contained in:
@@ -1,3 +1,17 @@
|
|||||||
|
2011-05-11 vadim <vadim@netcitadel.com>
|
||||||
|
|
||||||
|
* newFirewallDialog.cpp (finishClicked): fixes #2395 "Crash when
|
||||||
|
setting installer directory location" and fixes #2396 "Crash when
|
||||||
|
changing firewall name". These two bug reports where the
|
||||||
|
manifestation of the same problem that was introduced by the fix
|
||||||
|
for #2380. When user hits OK in the newFirewallDialog and it
|
||||||
|
merges temporary object tree into the main object tree, it should
|
||||||
|
call fixTree() to fix all pointers to the root of the tree.
|
||||||
|
|
||||||
|
2011-05-10 vadim <vadim@netcitadel.com>
|
||||||
|
|
||||||
|
* v4.2.1 released
|
||||||
|
|
||||||
2011-05-10 Vadim Kurland <vadim@netcitadel.com>
|
2011-05-10 Vadim Kurland <vadim@netcitadel.com>
|
||||||
|
|
||||||
* fwbuilder 4.2.1.3540 released; started v4.3.0
|
* fwbuilder 4.2.1.3540 released; started v4.3.0
|
||||||
|
|||||||
@@ -504,6 +504,7 @@ FWObject* ObjectManipulator::newFirewall(QUndoCommand* macro)
|
|||||||
FWCmdAddObject *cmd = new FWCmdAddObject(
|
FWCmdAddObject *cmd = new FWCmdAddObject(
|
||||||
m_project, parent, NULL, QObject::tr("Create new Firewall"), macro);
|
m_project, parent, NULL, QObject::tr("Create new Firewall"), macro);
|
||||||
FWObject *new_state = cmd->getNewState();
|
FWObject *new_state = cmd->getNewState();
|
||||||
|
|
||||||
parent->remove(nfw, false);
|
parent->remove(nfw, false);
|
||||||
new_state->add(nfw);
|
new_state->add(nfw);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1276,6 +1276,9 @@ void newFirewallDialog::finishClicked()
|
|||||||
|
|
||||||
CompareObjectsDialog cod(this);
|
CompareObjectsDialog cod(this);
|
||||||
db_orig->merge(db_copy, &cod);
|
db_orig->merge(db_copy, &cod);
|
||||||
|
db_orig->fixTree();
|
||||||
|
|
||||||
|
nfw = Firewall::cast(db_orig->findInIndex(nfw->getId()));
|
||||||
|
|
||||||
|
|
||||||
if (tmpldb!=NULL)
|
if (tmpldb!=NULL)
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user