fixing unit test

This commit is contained in:
Vadim Kurland
2010-03-20 20:45:36 +00:00
parent f2700e8cd7
commit 85e0f16aa5
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -1,3 +1,8 @@
2010-03-20 vadim <vadim@vk.crocodile.org>
* FWWindow.cpp (FWWindow::updateGlobalToolbar): additional check
for condition that happens in unit test
2010-03-19 vadim <vadim@vk.crocodile.org>
* FWWindow.cpp (FWWindow::updateGlobalToolbar): fixed SF bug 2973137
+1 -1
View File
@@ -1458,7 +1458,7 @@ void FWWindow::updateGlobalToolbar()
if (pp)
{
list<Firewall *> fws;
pp->findAllFirewalls(fws);
if (pp->db() != NULL) pp->findAllFirewalls(fws);
setCompileAndInstallActionsEnabled(fws.size() != 0);
} else
setCompileAndInstallActionsEnabled(false);