Fix channel preferences can't be deleted
1 unresolved thread
1 unresolved thread
closes #136 (closed)
- Remove return when there are rows to save to make sure trunc_add_db be called
- Clear all channel preferences in database
Edited by Lan Dam
Merge request reports
Activity
Filter activity
assigned to @ldam
375 375 (soh_list_name_item, data_type_combobox, 376 376 soh_list_item, clear_widget) = self.get_row(row_idx) 377 377 if soh_list_item.text().strip() != "": 378 msg = ("Are you sure you want to delete the SOH channel list of " 379 "row #%s?" % (row_idx + 1)) 378 msg = ("Are you sure you want to delete the SOH channel list " 379 f"{soh_list_name_item} at soh_list_name_item row " soh_list_name_item
is aQTableWidgetItem
, not the text stored in it.Edited by Kien Lechanged this line in version 2 of the diff
requested review from @kienle
removed review request for @kienle
added 1 commit
- 07132d2c - getting text from soh_list_name_item for the message
requested review from @kienle
mentioned in commit 72c82b52