Crashes if CAT changed to None, then band/mode changed.
Traceback (most recent call last):
File "/home/mbridak/Nextcloud/dev/not1mm/not1mm/__main__.py", line 327, in <lambda>
self.ssb_band_12.mousePressEvent = lambda x: self.change_to_band_and_mode(12, "SSB")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/mbridak/Nextcloud/dev/not1mm/not1mm/__main__.py", line 745, in change_to_band_and_mode
self.change_freq(freq)
File "/home/mbridak/Nextcloud/dev/not1mm/not1mm/__main__.py", line 2908, in change_freq
self.rig_control.set_vfo(vfo)
File "/home/mbridak/Nextcloud/dev/not1mm/not1mm/radio.py", line 98, in set_vfo
self.poll_callback.emit(
^^^^^^^^^^^^^^^^^^
RuntimeError: wrapped C/C++ object of type Radio has been deleted
Crashes if CAT changed to None, then band/mode changed.