Skip to content

Commit

Permalink
Apply patch in ticket #365.
Browse files Browse the repository at this point in the history
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 912abdc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plugins/grass/qgsgrassmapcalc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()) );
Expand Down Expand Up @@ -798,6 +799,7 @@ void QgsGrassMapcalc::setTool( int tool )

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

Expand Down

0 comments on commit 912abdc

Please sign in to comment.