From d241ce0b9c77ba9b16473686da22667e06d32ef1 Mon Sep 17 00:00:00 2001 From: Vadim Kurland Date: Sun, 7 Feb 2010 17:48:12 +0000 Subject: [PATCH] * FWCmdChange.cpp (FWCmdChangeOptionsObject::notify): fixes #1212 Cluster object was not marked for recompile when user edited conntrack group parameters --- build_num | 2 +- doc/ChangeLog | 6 ++++++ src/gui/FWCmdChange.cpp | 6 +++++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/build_num b/build_num index 97d41567c..be8cf323b 100644 --- a/build_num +++ b/build_num @@ -1 +1 @@ -#define BUILD_NUM 2503 +#define BUILD_NUM 2504 diff --git a/doc/ChangeLog b/doc/ChangeLog index 65edbd540..6c9b4c7b0 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,9 @@ +2010-02-07 vadim + + * FWCmdChange.cpp (FWCmdChangeOptionsObject::notify): fixes #1212 + Cluster object was not marked for recompile when user edited + conntrack group parameters + 2010-02-06 vadim * src/pflib/PolicyCompiler_pf_writers.cpp (PrintRule::processNext): diff --git a/src/gui/FWCmdChange.cpp b/src/gui/FWCmdChange.cpp index e248641a9..b4619020e 100644 --- a/src/gui/FWCmdChange.cpp +++ b/src/gui/FWCmdChange.cpp @@ -180,10 +180,13 @@ void FWCmdChangeName::notify() /******************************************************** * FWCmdChangeOptionsObject + * + * This command is used to change failover or state protocol parameters + * (CARP, conntrack, heartbeat, vrrp, pfsync, openais) ********************************************************/ FWCmdChangeOptionsObject::FWCmdChangeOptionsObject(ProjectPanel *project, FWObject *obj) : - FWCmdChange(project, obj, QObject::tr("Edit rule options")) + FWCmdChange(project, obj, QObject::tr("Edit protocol parameters")) {} void FWCmdChangeOptionsObject::notify() @@ -198,6 +201,7 @@ void FWCmdChangeOptionsObject::notify() QCoreApplication::postEvent( mw, new showObjectInTreeEvent(filename, obj->getParent()->getId())); QCoreApplication::postEvent(mw, new reloadRulesetEvent(filename)); + QCoreApplication::postEvent(mw, new dataModifiedEvent(filename, obj->getId())); }