Skip to content
Permalink
Browse files
Apply patch in ticket #365.
git-svn-id: http://svn.osgeo.org/qgis/trunk@6043 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Oct 31, 2006
1 parent 56a398e commit 912abdc45eb44bf8e4aa30b6a3c7aaf0242c4a43
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/plugins/grass/qgsgrassmapcalc.cpp
@@ -147,6 +147,7 @@ QgsGrassMapcalc::QgsGrassMapcalc (
mActionDeleteItem = new QAction( QIcon(myIconPath+"mapcalc_delete.png"),
tr("Delete selected item"), this);
mActionDeleteItem->setCheckable ( true );
mActionDeleteItem->setEnabled ( false );
ag->addAction ( mActionDeleteItem );
tb->addAction ( mActionDeleteItem );
connect ( mActionDeleteItem, SIGNAL(triggered()), this, SLOT(deleteItem()) );
@@ -798,6 +799,7 @@ void QgsGrassMapcalc::setTool( int tool )

showOptions(mTool);
setToolActionsOff();
mActionDeleteItem->setEnabled( false );
mCanvas->update();
}

0 comments on commit 912abdc

Please sign in to comment.