Skip to content

Commit

Permalink
Moved help url back to constants because info.yml link was broken.
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael Matto committed Jul 26, 2016
1 parent 81ebac3 commit 8fb9050
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions python/tk_multi_importcut/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
# EDL file extension
_EDL_EXT = ".edl"

# Url that links to Import Cut documentation.
_DOCUMENTATION_URL = "https://support.shotgunsoftware.com/hc/en-us/articles/219041758-Import-Cut"

# Some colors used in various places
_COLORS = {
"sg_blue" : "#2C93E2",
Expand Down
5 changes: 4 additions & 1 deletion python/tk_multi_importcut/dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ class SelectorButton(QtGui.QPushButton):
# Supported movie file extensions
from .constants import _VIDEO_EXTS, _EDL_EXT

# Documentation url
from .constants import _DOCUMENTATION_URL

settings = sgtk.platform.import_framework("tk-framework-shotgunutils", "settings")

_BAD_PERMISSIONS_MSG = "The following error was reported:\n\nIt's possible you \
Expand Down Expand Up @@ -1323,7 +1326,7 @@ def show_help(self):
Called at the start of the import if user clicks on the "?"
button: shows the documentation in the default web browser.
"""
help_url = QtCore.QUrl(self._app.documentation_url)
help_url = QtCore.QUrl(_DOCUMENTATION_URL)
QtGui.QDesktopServices.openUrl(help_url)

@QtCore.Slot(str, list)
Expand Down

0 comments on commit 8fb9050

Please sign in to comment.