Skip to content
Permalink
Browse files

Merge pull request #4221 from tomkralidis/issue-16176-2.14

MetaSearch: fix help URL
  • Loading branch information
tomkralidis committed Mar 4, 2017
2 parents ec80d9c + 090bf1b commit 3dc5c9a63e47f01922458cfa697bf638273fc3f8
Showing with 6 additions and 1 deletion.
  1. +6 −1 python/plugins/MetaSearch/util.py
@@ -133,7 +133,12 @@ def get_help_url():
"""return QGIS MetaSearch help documentation link"""

locale_name = QSettings().value('locale/userLocale')[0:2]
version = QGis.QGIS_VERSION[:3]
major, minor = QGis.QGIS_VERSION.split('.')[:2]

if minor == '99': # master
version = 'testing'
else:
version = '.'.join([major, minor])

path = '%s/%s/docs/user_manual/plugins/plugins_metasearch.html' % \
(version, locale_name)

0 comments on commit 3dc5c9a

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