From bebcbfc3baf260975a6b1740ed314f896863c88c Mon Sep 17 00:00:00 2001 From: Vadim Kurland Date: Thu, 4 Mar 2010 03:43:31 +0000 Subject: [PATCH] fixed #1295 File/Print does not work for clusters --- build_num | 2 +- doc/ChangeLog | 3 +++ src/gui/FWWindowPrint.cpp | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/build_num b/build_num index a7e509957..7a3592ab2 100644 --- a/build_num +++ b/build_num @@ -1 +1 @@ -#define BUILD_NUM 2647 +#define BUILD_NUM 2648 diff --git a/doc/ChangeLog b/doc/ChangeLog index cb0585995..a1bae82f4 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,5 +1,8 @@ 2010-03-03 vadim + * FWWindowPrint.cpp (FWWindow::filePrint): fixed #1295 "File/Print + does not work for clusters" + * Importer.cpp (Importer::createAddress): fixed #1287 "policy importer (iptables) crashes when host name is used in iptables rule in place of an address". Importer now creates DNSName object. diff --git a/src/gui/FWWindowPrint.cpp b/src/gui/FWWindowPrint.cpp index 7cb81c882..2774931ee 100644 --- a/src/gui/FWWindowPrint.cpp +++ b/src/gui/FWWindowPrint.cpp @@ -85,7 +85,7 @@ void FWWindow::filePrint() } // Need error dialog - if (!Firewall::isA(firewall_to_print)) return; + if (!Firewall::cast(firewall_to_print)) return; if (!st->getStr("PrintSetup/newPageForSection").isEmpty())