Skip to content

Commit

Permalink
[GRASS] fixed module search on windows, fixes #14241
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Feb 11, 2016
1 parent 0d652b2 commit dfdb420
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/providers/grass/qgsgrass.cpp
Expand Up @@ -1991,7 +1991,11 @@ QString QgsGrass::findModule( QString module )
{
Q_FOREACH ( const QString& path, paths )
{
QString full = path + "/" + module + ext;
QString full = module + ext;;
if ( !path.isEmpty() )
{
full.prepend( path + "/" );
}
if ( QFile::exists( full ) )
{
QgsDebugMsg( "found " + full );
Expand Down

0 comments on commit dfdb420

Please sign in to comment.