Changeset 4427 for palm/trunk/SCRIPTS/palmrungui
- Timestamp:
- Feb 27, 2020 11:29:51 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/palmrungui
r4420 r4427 25 25 # ----------------- 26 26 # $Id$ 27 # Small fixes and adjustments 28 # 29 # 4420 2020-02-24 14:13:56Z maronga 27 30 # Bugfix: minor fixes related to start buttons 28 31 # … … 1154 1157 self.load_jobs() 1155 1158 self.setEnabled(True) 1159 self.update_input() 1156 1160 1157 1161 # Load jobs into list 1158 1162 def load_jobs(self): 1159 1163 1164 selected_job = self.list_jobs.currentItem() 1165 1166 if ( selected_job is not None ): 1167 jobname = selected_job.text() 1168 else: 1169 jobname = "" 1170 1160 1171 self.list_jobs.clear() 1161 1172 self.push_copy.setEnabled(False) … … 1173 1184 self.list_jobs.addItem(str(list_of_files[i])) 1174 1185 1186 1187 1188 item2int = self.list_jobs.findItems(jobname,QtCore.Qt.MatchCaseSensitive) 1189 1190 if ( item2int != [] ): 1191 self.list_jobs.setCurrentItem(item2int[0]) 1175 1192 1176 1193
Note: See TracChangeset
for help on using the changeset viewer.