Skip to content
Permalink
Browse files
Apply patch in ticket #365.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6043 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Oct 31, 2006
1 parent b402ea9 commit 483cbe0
Showing 1 changed file with 2 additions and 0 deletions.
@@ -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 483cbe0

Please sign in to comment.