Fixed issue where the loading indicator went away to fast on search

This commit is contained in:
Sumner Evans
2020-01-14 09:11:52 -07:00
parent 9dcc0c5ac7
commit ddb6549c97

View File

@@ -317,7 +317,8 @@ class MainWindow(Gtk.ApplicationWindow):
# If all results are back, the stop the loading indicator.
if is_last_in_batch:
self.set_search_loading(False)
if idx == self.search_idx - 1:
self.set_search_loading(False)
self.latest_returned_search_idx = idx
self.update_search_results(result)