Skip to content

Commit

Permalink
#9454: avoid unnecessarily refresh the map
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuarte47 committed Jan 31, 2014
1 parent 346df98 commit b6f2a92
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/app/nodetool/qgsmaptoolnodetool.cpp
Expand Up @@ -741,7 +741,6 @@ void QgsMapToolNodeTool::keyPressEvent( QKeyEvent* e )

mSelectedFeature->deselectAllVertexes();
safeSelectVertex( firstSelectedIndex - 1 );
mCanvas->refresh();
}
else if ( mSelectedFeature && ( e->key() == Qt::Key_Greater || e->key() == Qt::Key_Period ) )
{
Expand All @@ -751,7 +750,6 @@ void QgsMapToolNodeTool::keyPressEvent( QKeyEvent* e )

mSelectedFeature->deselectAllVertexes();
safeSelectVertex( firstSelectedIndex + 1 );
mCanvas->refresh();
}
}

Expand Down

0 comments on commit b6f2a92

Please sign in to comment.