Skip to content
Permalink
Browse files

GRASS Direct disabled for 2.0

  • Loading branch information
blazek committed May 8, 2013
1 parent e80d8c3 commit 9e05b41b4d882098ff2fa094e7f0750bf7cf476e
Showing with 7 additions and 0 deletions.
  1. +3 −0 src/plugins/grass/CMakeLists.txt
  2. +4 −0 src/plugins/grass/qgsgrassplugin.cpp
@@ -11,6 +11,9 @@ ELSE (WIN32)
ADD_DEFINITIONS(-DHAVE_POSIX_OPENPT)
ENDIF (WIN32)

# GRASS Direct disabled in 2.0
#ADD_DEFINITIONS("-DGRASS_DIRECT")

########################################################
# Files

@@ -221,7 +221,11 @@ void QgsGrassPlugin::mapsetChanged()
{
if ( !QgsGrass::activeMode() )
{
#ifdef GRASS_DIRECT
mOpenToolsAction->setEnabled( true );
#else
mOpenToolsAction->setEnabled( false );
#endif
mRegionAction->setEnabled( false );
mEditRegionAction->setEnabled( false );
mRegionBand->reset();

0 comments on commit 9e05b41

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