1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-23 03:37:15 +01:00

* GroupObjectDialog.cpp (loadFWObject): fixes #2203 "Crash when

attempting to add an object to a locked group".
This commit is contained in:
Vadim Kurland 2011-03-08 19:07:28 -08:00
parent a1111b83bd
commit 3f10891723
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2011-03-08 vadim <vadim@netcitadel.com>
* GroupObjectDialog.cpp (loadFWObject): fixes #2203 "Crash when
attempting to add an object to a locked group".
* PolicyCompiler.cpp (checkForShadowing): see #2204 "Shadowing
detected for rule with action Continue". Policy rules with action
"Continue" should not shadow other rules and can not be shadowed.

View File

@ -465,6 +465,8 @@ void GroupObjectDialog::loadFWObject(FWObject *o)
m_dialog->comment->setEnabled(!o->isReadOnly() && !FWBTree().isSystem(o));
setDisabledPalette(m_dialog->comment);
m_dialog->newButton->setEnabled(!o->isReadOnly());
// listView->setEnabled(!o->isReadOnly());
setDisabledPalette(listView);