bug when scan channels for 5083.sdr
Got error when scanning for channels in Channel Preferences Dialog. Experiment 5083
Traceback (most recent call last):
File "/Users/ldam/Documents/GIT/sohview/sohstationviewer1/sohstationviewer/view/channel_prefer_dialog.py", line 485, in <lambda>
lambda: self.change_station(is_multiplex))
File "/Users/ldam/Documents/GIT/sohview/sohstationviewer1/sohstationviewer/view/channel_prefer_dialog.py", line 497, in change_station
sel_sta_id = [
File "/Users/ldam/Documents/GIT/sohview/sohstationviewer1/sohstationviewer/view/channel_prefer_dialog.py", line 499, in <listcomp>
if self.data_set_key_radio_button_dict[sta_id].isChecked()][0]
KeyError: 'ICEZ'
The error happens because the first radio button is checked that calls change_station when data_set_key_radio_button_dict isn't completed.
Edited by Lan Dam