Skip to content

Commit

Permalink
refresh spots as filter is changed.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbridak committed Apr 14, 2024
1 parent ccf3b07 commit f3becd5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion potato.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")

Expand Down Expand Up @@ -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])
Expand Down

0 comments on commit f3becd5

Please sign in to comment.