merge from the latest changes in release-4.2.1

This commit is contained in:
Vadim Kurland
2011-05-11 22:43:01 -07:00
4 changed files with 2546 additions and 0 deletions
+14
View File
@@ -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>
* fwbuilder 4.2.1.3540 released; started v4.3.0
@@ -504,6 +504,7 @@ FWObject* ObjectManipulator::newFirewall(QUndoCommand* macro)
FWCmdAddObject *cmd = new FWCmdAddObject(
m_project, parent, NULL, QObject::tr("Create new Firewall"), macro);
FWObject *new_state = cmd->getNewState();
parent->remove(nfw, false);
new_state->add(nfw);
}
+3
View File
@@ -1276,6 +1276,9 @@ void newFirewallDialog::finishClicked()
CompareObjectsDialog cod(this);
db_orig->merge(db_copy, &cod);
db_orig->fixTree();
nfw = Firewall::cast(db_orig->findInIndex(nfw->getId()));
if (tmpldb!=NULL)
File diff suppressed because it is too large Load Diff