##// END OF EJS Templates
Bug fixed in GUI: Flip option always needed channelList value
Miguel Valdez -
r755:4b2a66356a94
parent child
Show More
@@ -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,15 +1059,18 class BasicWindow(QMainWindow, Ui_BasicWindow):
1059 1059
1060 1060 opObj = puObj.addOperation(name=name_operation, optype=optype)
1061 1061
1062 name_parameter = 'channelList'
1063 format = 'intlist'
1064 1062 value = str(self.volOpFlip.text())
1065 1063
1066 if not isIntList(value):
1067 self.console.append("Invalid value '%s' for '%s'" %(value,name_parameter))
1068 return 0
1064 if value:
1065
1066 name_parameter = 'channelList'
1067 format = 'intlist'
1069 1068
1070 opObj.addParameter(name=name_parameter, value=value, format=format)
1069 if not isIntList(value):
1070 self.console.append("Invalid value '%s' for '%s'" %(value,name_parameter))
1071 return 0
1072
1073 opObj.addParameter(name=name_parameter, value=value, format=format)
1071 1074
1072 1075 if self.volOpCebCohInt.isChecked():
1073 1076 name_operation = 'CohInt'
General Comments 0
You need to be logged in to leave comments. Login now