Skip to content

Commit

Permalink
workaround for #2853
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13864 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jul 1, 2010
1 parent 98f3913 commit 9385610
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/app/qgsmaptooladdfeature.cpp
Expand Up @@ -486,11 +486,6 @@ void QgsMapToolAddFeature::canvasReleaseEvent( QMouseEvent * e )
vlayer->endEditCommand();
}
mypDialog->deleteLater();

#ifdef Q_OS_WIN
// hope your wearing your peril sensitive sunglasses.
QgisApp::instance()->skipNextContextMenuEvent();
#endif
}
delete f;

Expand Down
5 changes: 5 additions & 0 deletions src/app/qgsmaptoolcapture.cpp
Expand Up @@ -175,6 +175,11 @@ void QgsMapToolCapture::stopCapturing()

mGeomErrors.clear();

#ifdef Q_OS_WIN
// hope your wearing your peril sensitive sunglasses.
QgisApp::instance()->skipNextContextMenuEvent();
#endif

mCapturing = false;
mCaptureList.clear();
mCanvas->refresh();
Expand Down

0 comments on commit 9385610

Please sign in to comment.