Skip to content

Commit 0880ab8

Browse files
author
rblazek
committed
set GRASS_HTML_BROWSER to qgis.g.browser on win
git-svn-id: http://svn.osgeo.org/qgis/trunk@13002 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 1ac0bf8 commit 0880ab8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/plugins/grass/qgsgrasstools.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ void QgsGrassTools::runModule( QString name )
140140
if ( name == "shell" )
141141
{
142142
#ifdef WIN32
143+
QgsGrass::putEnv ( "GRASS_HTML_BROWSER", QgsApplication::pkgDataPath() + "/grass/bin/qgis.g.browser" );
143144
if ( !QProcess::startDetached( getenv( "COMSPEC" ) ) )
144145
{
145146
QMessageBox::warning( 0, "Warning", tr( "Cannot start command shell (%1)" ).arg( getenv( "COMSPEC" ) ) );

0 commit comments

Comments
 (0)