From 0a536e83e10dbea3dfb933ff332802eaa42e91e0 Mon Sep 17 00:00:00 2001 From: Justin Donofrio Date: Thu, 24 Oct 2024 14:58:57 -0400 Subject: [PATCH] Fix blank by field in ui breaking search --- src/onthespot/gui/mainui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/onthespot/gui/mainui.py b/src/onthespot/gui/mainui.py index c53fb25..4ca8236 100644 --- a/src/onthespot/gui/mainui.py +++ b/src/onthespot/gui/mainui.py @@ -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)