Skip to content

Commit

Permalink
fixed wrong url for 'learn more' links
Browse files Browse the repository at this point in the history
fixes #30
  • Loading branch information
volaya committed Mar 3, 2022
1 parent 3f229f4 commit 55aacf9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion planet_explorer/gui/pe_legacy_warning_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
5 changes: 4 additions & 1 deletion planet_explorer/ui/pe_legacy_warning_widget.ui
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,14 @@ p, li { white-space: pre-wrap; }
<item>
<widget class="QLabel" name="labelLink">
<property name="text">
<string>&lt;a href=&quot;#&quot;&gt;Learn more about this change&lt;/a&gt;</string>
<string>&lt;a href=&quot;https://developers.planet.com/docs/data/psscene&quot;&gt;Learn more about this change&lt;/a&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="openExternalLinks">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
Expand Down

0 comments on commit 55aacf9

Please sign in to comment.