aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-03-16 10:43:53 -0400
committerB Stack <bgstack15@gmail.com>2020-03-16 10:43:53 -0400
commit8c6e3b27897d91ee8f0bc9a641118a5e4c96e5dc (patch)
tree8b9c0a504e4050abfbea519be7a9339868e594fe
parentWIP: search works raw (diff)
downloadmime_types_editor-8c6e3b27897d91ee8f0bc9a641118a5e4c96e5dc.tar.gz
mime_types_editor-8c6e3b27897d91ee8f0bc9a641118a5e4c96e5dc.tar.bz2
mime_types_editor-8c6e3b27897d91ee8f0bc9a641118a5e4c96e5dc.zip
updates list every time you change search string
-rw-r--r--src/common/mime_view.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/mime_view.py b/src/common/mime_view.py
index 0abf2b2..d574b29 100644
--- a/src/common/mime_view.py
+++ b/src/common/mime_view.py
@@ -59,6 +59,7 @@ class MimeView:
#print("INSIDE on_searchbox_changed, value ", '"' + search_widget.get_text() + '"' )
self.SEARCH_STRING = search_widget.get_text()
self.set_search_filter(self.SEARCH_STRING)
+ self.filter_model.refilter()
def _init_mappings(self):
#mappings
bgstack15