From f3becd53ee90205ebcf068175b0ac04b30f82897 Mon Sep 17 00:00:00 2001 From: mbridak Date: Sun, 14 Apr 2024 16:38:01 -0700 Subject: [PATCH] refresh spots as filter is changed. --- potato.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/potato.py b/potato.py index 76dad66..6db3942 100644 --- a/potato.py +++ b/potato.py @@ -112,6 +112,7 @@ def __init__(self, parent=None): self.listWidget.doubleClicked.connect(self.item_double_clicked) self.comboBox_mode.currentTextChanged.connect(self.getspots) self.comboBox_band.currentTextChanged.connect(self.getspots) + self.txtFilter.textChanged.connect(self.showspots) """Set up the flrig XML server interface""" self.server_flrig = xmlrpc.client.ServerProxy(f"http://{SERVER_ADDRESS_FLRIG}") @@ -278,7 +279,7 @@ def spotclicked(self): pass def item_double_clicked(self): - """If a list item is double clicked a green highlight will be toggles""" + """If a list item is double clicked a green highlight will be toggled""" item = self.listWidget.currentItem() line = item.text().split() pyperclip.copy(line[1])