misc: removed debug msg, fixed warning msg

- Fixed displaying verdict warning message.
 - Removed debug message.
This commit is contained in:
Gustavo Iñiguez Goia 2023-07-17 16:48:44 +02:00
parent b40da93fb4
commit aa7b1e1a02
Failed to generate hash of commit
2 changed files with 2 additions and 2 deletions

View file

@ -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
}

View file

@ -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)