chore: add a comment

This commit is contained in:
2022-12-03 21:47:22 +01:00
parent 976a10139e
commit 3db89697d3
+2
View File
@@ -245,6 +245,8 @@ class MainWindow(Gtk.Window):
uid = self.transmissions[self.transmission_list.get_selected_row().get_index()][0]
trxData = db.get_transmission_data(uid)
except AttributeError:
# when adding a new transmission, this function is called before any row is selected and logs
# an error. I don't know when or why that happens, but this does the job.
return
except:
log.critical(error)