[PC-BSD Commits] r12299 - pcbsd/current/src-qt4/pc-pfmanager

svn at pcbsd.org svn at pcbsd.org
Thu Aug 25 10:05:44 PDT 2011


Author: kris
Date: 2011-08-25 10:05:44 -0700 (Thu, 25 Aug 2011)
New Revision: 12299

Modified:
   pcbsd/current/src-qt4/pc-pfmanager/pfaddlg.cpp
Log:

Fix bug adding new firewall exception, when changing service make sure port
number gets updated immediately with correct value



Modified: pcbsd/current/src-qt4/pc-pfmanager/pfaddlg.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-pfmanager/pfaddlg.cpp	2011-08-25 16:49:44 UTC (rev 12298)
+++ pcbsd/current/src-qt4/pc-pfmanager/pfaddlg.cpp	2011-08-25 17:05:44 UTC (rev 12299)
@@ -43,10 +43,10 @@
     fillData();
     
     // Connect the signals/slots
-    QComboBox::connect(cbServices, SIGNAL(highlighted(const QString&)),
+    //QComboBox::connect(cbServices, SIGNAL(highlighted(const QString&)),
+    //                   this, SLOT(serviceClicked(const QString&)));
+    QComboBox::connect(cbServices, SIGNAL(currentIndexChanged(const QString&)),
                        this, SLOT(serviceClicked(const QString&)));
-    QComboBox::connect(cbServices, SIGNAL(textChanged(const QString&)),
-                       this, SLOT(serviceClicked(const QString&)));
     // The buttons
     QPushButton::connect(pbOkay, SIGNAL(clicked()),
                          this, SLOT(okClicked()));



More information about the Commits mailing list