@@ -803,8 +803,8 class BasicWindow(QMainWindow, Ui_BasicWindow): | |||
|
803 | 803 | self.volOpCode.setEnabled(False) |
|
804 | 804 | |
|
805 | 805 | if index == 0: |
|
806 | code = '' | |
|
807 | self.volOpCode.setText(str(code)) | |
|
806 | # code = '' | |
|
807 | # self.volOpCode.setText(str(code)) | |
|
808 | 808 | return |
|
809 | 809 | |
|
810 | 810 | if index == 1: |
@@ -1059,9 +1059,12 class BasicWindow(QMainWindow, Ui_BasicWindow): | |||
|
1059 | 1059 | |
|
1060 | 1060 | opObj = puObj.addOperation(name=name_operation, optype=optype) |
|
1061 | 1061 | |
|
1062 | value = str(self.volOpFlip.text()) | |
|
1063 | ||
|
1064 | if value: | |
|
1065 | ||
|
1062 | 1066 | name_parameter = 'channelList' |
|
1063 | 1067 | format = 'intlist' |
|
1064 | value = str(self.volOpFlip.text()) | |
|
1065 | 1068 | |
|
1066 | 1069 | if not isIntList(value): |
|
1067 | 1070 | self.console.append("Invalid value '%s' for '%s'" %(value,name_parameter)) |
General Comments 0
You need to be logged in to leave comments.
Login now