Skip to content

Commit

Permalink
Merge pull request #125 from planetlabs/dev_load_saved_search_fix
Browse files Browse the repository at this point in the history
Dev load saved search fix
  • Loading branch information
john-dupuy authored Feb 9, 2023
2 parents 3446755 + f1002b6 commit 2b29d69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion planet_explorer/gui/pe_dailyimages_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def __init__(self, parent):
self._default_filter_values = build_search_request(self._filters, self._sources)

def open_saved_searches(self, dlg=None):
dlg = dlg if dlg else OpenSavedSearchDialog()
dlg = dlg if isinstance(dlg, OpenSavedSearchDialog) else OpenSavedSearchDialog()
if dlg.exec() == OpenSavedSearchDialog.Accepted:
saved_search_request = dlg.saved_search
request = {}
Expand Down

0 comments on commit 2b29d69

Please sign in to comment.