Skip to content

Commit 6b0a6e9

Browse files
author
jef
committedJul 1, 2010
workaround for #2853
git-svn-id: http://svn.osgeo.org/qgis/trunk@13864 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent edbceec commit 6b0a6e9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
 

‎src/app/qgsmaptooladdfeature.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -486,11 +486,6 @@ void QgsMapToolAddFeature::canvasReleaseEvent( QMouseEvent * e )
486486
vlayer->endEditCommand();
487487
}
488488
mypDialog->deleteLater();
489-
490-
#ifdef Q_OS_WIN
491-
// hope your wearing your peril sensitive sunglasses.
492-
QgisApp::instance()->skipNextContextMenuEvent();
493-
#endif
494489
}
495490
delete f;
496491

‎src/app/qgsmaptoolcapture.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,11 @@ void QgsMapToolCapture::stopCapturing()
175175

176176
mGeomErrors.clear();
177177

178+
#ifdef Q_OS_WIN
179+
// hope your wearing your peril sensitive sunglasses.
180+
QgisApp::instance()->skipNextContextMenuEvent();
181+
#endif
182+
178183
mCapturing = false;
179184
mCaptureList.clear();
180185
mCanvas->refresh();

0 commit comments

Comments
 (0)
Please sign in to comment.