(self, index)
| 540 | self.gpc.set_load_each_channel(state) |
| 541 | |
| 542 | def cbox_channel_index_changed(self, index): |
| 543 | def cb(index): |
| 544 | try: |
| 545 | self.gpc.set_data_channel(index) |
| 546 | success, msg = True, "" |
| 547 | except Exception as ex: |
| 548 | success = False |
| 549 | msg = str(ex) |
| 550 | return {"success": success, "msg": msg} |
| 551 | |
| 552 | self._compute_in_background(cb, self.slot_channel_index_changed, index=index) |
| 553 | |
| 554 | @Slot(object) |
| 555 | def slot_channel_index_changed(self, result): |
nothing calls this directly
no test coverage detected