Skip to content
Permalink
Browse files

[MetaSearch] clear search results when inspecting CSW in server tab (#…

  • Loading branch information
tomkralidis authored and nyalldawson committed Jul 12, 2020
1 parent 0912bc5 commit 0579b20b5352e69a9aabd1bb35757424eb937a92
Showing with 8 additions and 0 deletions.
  1. +8 −0 python/plugins/MetaSearch/dialogs/maindialog.py
@@ -285,6 +285,9 @@ def connection_info(self):
self.textMetadata.document().setDefaultStyleSheet(style)
self.textMetadata.setHtml(metadata)

# clear results in Search tab
self.clear_results()

def add_connection(self):
"""add new service"""

@@ -541,6 +544,11 @@ def display_results(self):
self.btnNext.setEnabled(disabled)
self.btnLast.setEnabled(disabled)

def clear_results(self):
"""clear search results"""

self.treeRecords.clear()

def record_clicked(self):
"""record clicked signal"""

0 comments on commit 0579b20

Please sign in to comment.
You can’t perform that action at this time.