Skip to content

Commit

Permalink
[GRASS] 261df82 followup
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Oct 20, 2015
1 parent 261df82 commit 2d159f3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/providers/grass/qgsgrassprovidermodule.cpp
Expand Up @@ -398,10 +398,7 @@ bool QgsGrassMapsetItem::objectInImports( QgsGrassObject grassObject )
}
if ( import->names().contains( grassObject.name() ) )
{
return true; if ( !QgsGrass::isOwner( mGrassObject.gisdbase(), mGrassObject.location(), mGrassObject.mapset() ) )
{
return false;
}
return true;
}
}
return false;
Expand Down

0 comments on commit 2d159f3

Please sign in to comment.