Skip to content

Commit

Permalink
Fix blank by field in ui breaking search
Browse files Browse the repository at this point in the history
  • Loading branch information
justin025 committed Oct 24, 2024
1 parent 3f50615 commit 0a536e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/onthespot/gui/mainui.py
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ def download_btn_clicked(item_name, item_url, item_service, item_type, item_id,
item_label.setText(result['item_name'])

self.tbl_search_results.setCellWidget(rows, 0, item_label)
self.tbl_search_results.setItem(rows, 1, QTableWidgetItem(result['item_by']))
self.tbl_search_results.setItem(rows, 1, QTableWidgetItem(str(result['item_by'])))
self.tbl_search_results.setItem(rows, 2, QTableWidgetItem(result['item_type'].title()))
self.tbl_search_results.setItem(rows, 3, service)
self.tbl_search_results.setCellWidget(rows, 4, btn)
Expand Down

0 comments on commit 0a536e8

Please sign in to comment.