mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
MetaSearch: fix help URL (http://hub.qgis.org/issues/16176)
This commit is contained in:
parent
19e60158b4
commit
6822d6b1d0
@ -138,7 +138,12 @@ def get_help_url():
|
||||
"""return QGIS MetaSearch help documentation link"""
|
||||
|
||||
locale_name = QgsSettings().value('locale/userLocale')[0:2]
|
||||
version = Qgis.QGIS_VERSION.rsplit('.', 1)[0]
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user