mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 08:34:40 +01:00
misc: removed debug msg, fixed warning msg
- Fixed displaying verdict warning message. - Removed debug message.
This commit is contained in:
parent
b40da93fb4
commit
aa7b1e1a02
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,6 @@ import (
|
|||
// NewExprPort returns a new port expression with the given matching operator.
|
||||
func NewExprPort(port string, op *expr.CmpOp) (*[]expr.Any, error) {
|
||||
eport, err := strconv.Atoi(port)
|
||||
fmt.Printf("%s, %d", err, eport)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
|
@ -333,7 +333,6 @@ The value must be in the format: VALUE/UNITS/TIME, for example:
|
|||
self.helpButton.clicked.connect(self._cb_help_button_clicked)
|
||||
self.comboVerdict.currentIndexChanged.connect(self._cb_verdict_changed)
|
||||
self.lineVerdictParms.textChanged.connect(self._cb_verdict_parms_changed)
|
||||
self.comboDirection.currentIndexChanged.connect(self._cb_direction_changed)
|
||||
self.checkEnable.toggled.connect(self._cb_check_enable_toggled)
|
||||
self.lineDescription.textChanged.connect(self._cb_description_changed)
|
||||
|
||||
|
@ -381,10 +380,12 @@ The value must be in the format: VALUE/UNITS/TIME, for example:
|
|||
return False
|
||||
|
||||
self._load_nodes()
|
||||
self.comboDirection.currentIndexChanged.connect(self._cb_direction_changed)
|
||||
return True
|
||||
|
||||
|
||||
def _close(self):
|
||||
self.comboDirection.currentIndexChanged.disconnect(self._cb_direction_changed)
|
||||
self.hide()
|
||||
|
||||
@QtCore.pyqtSlot(ui_pb2.NotificationReply)
|
||||
|
|
Loading…
Add table
Reference in a new issue