chore: add a comment
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user