Skip to content
Permalink
Browse files

redraw after undo

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5187 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek
rblazek committed Apr 6, 2006
1 parent 3510a84 commit 554146108d15244654b5d60bcf4e92e913d6de6f
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/plugins/grass/qgsgrassedittools.cpp
@@ -147,8 +147,12 @@ void QgsGrassEditNewLine::mouseClick(QgsPoint & point, Qt::ButtonState button)
break;
case Qt::MidButton:
if ( e->mEditPoints->n_points > 0 ) {
e->eraseDynamic();
e->mEditPoints->n_points--;
Vect_reset_line ( e->mPoints );
Vect_append_points ( e->mPoints, e->mEditPoints, GV_FORWARD );
QgsPoint point = toMapCoords( e->mCanvas->mouseLastXY() );
Vect_append_point ( e->mPoints, point.x(), point.y(), 0.0 );
e->displayDynamic ( e->mPoints );
}
break;
case Qt::RightButton:

0 comments on commit 5541461

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