From 55aacf9419928bdc1cf12a491ae95561d473a2f0 Mon Sep 17 00:00:00 2001 From: volaya Date: Thu, 3 Mar 2022 18:27:50 +0100 Subject: [PATCH] fixed wrong url for 'learn more' links fixes #30 --- planet_explorer/gui/pe_legacy_warning_widget.py | 2 +- planet_explorer/ui/pe_legacy_warning_widget.ui | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/planet_explorer/gui/pe_legacy_warning_widget.py b/planet_explorer/gui/pe_legacy_warning_widget.py index d0daab3..9c848e8 100644 --- a/planet_explorer/gui/pe_legacy_warning_widget.py +++ b/planet_explorer/gui/pe_legacy_warning_widget.py @@ -37,7 +37,7 @@ def __init__(self, parent=None): self.labelLink.linkActivated.connect(self.link_clicked) def link_clicked(self): - url = "https://developers.planet.com/docs/data/psscene/faq" + url = "https://developers.planet.com/docs/data/psscene" open_link_with_browser(url) def update_search(self): diff --git a/planet_explorer/ui/pe_legacy_warning_widget.ui b/planet_explorer/ui/pe_legacy_warning_widget.ui index 1803736..6c30d93 100644 --- a/planet_explorer/ui/pe_legacy_warning_widget.ui +++ b/planet_explorer/ui/pe_legacy_warning_widget.ui @@ -79,11 +79,14 @@ p, li { white-space: pre-wrap; } - <a href="#">Learn more about this change</a> + <a href="https://developers.planet.com/docs/data/psscene">Learn more about this change</a> Qt::AlignCenter + + true +