Skip to content
Permalink
Browse files

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
  • Loading branch information
rblazek
rblazek committed Mar 5, 2010
1 parent 1ac0bf8 commit 0880ab8d9412d5d8011ab58900e309729a5527dc
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/plugins/grass/qgsgrasstools.cpp
@@ -140,6 +140,7 @@ void QgsGrassTools::runModule( QString name )
if ( name == "shell" )
{
#ifdef WIN32
QgsGrass::putEnv ( "GRASS_HTML_BROWSER", QgsApplication::pkgDataPath() + "/grass/bin/qgis.g.browser" );
if ( !QProcess::startDetached( getenv( "COMSPEC" ) ) )
{
QMessageBox::warning( 0, "Warning", tr( "Cannot start command shell (%1)" ).arg( getenv( "COMSPEC" ) ) );

0 comments on commit 0880ab8

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