File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -486,11 +486,6 @@ void QgsMapToolAddFeature::canvasReleaseEvent( QMouseEvent * e )
486
486
vlayer->endEditCommand ();
487
487
}
488
488
mypDialog->deleteLater ();
489
-
490
- #ifdef Q_OS_WIN
491
- // hope your wearing your peril sensitive sunglasses.
492
- QgisApp::instance ()->skipNextContextMenuEvent ();
493
- #endif
494
489
}
495
490
delete f;
496
491
Original file line number Diff line number Diff line change @@ -175,6 +175,11 @@ void QgsMapToolCapture::stopCapturing()
175
175
176
176
mGeomErrors .clear ();
177
177
178
+ #ifdef Q_OS_WIN
179
+ // hope your wearing your peril sensitive sunglasses.
180
+ QgisApp::instance ()->skipNextContextMenuEvent ();
181
+ #endif
182
+
178
183
mCapturing = false ;
179
184
mCaptureList .clear ();
180
185
mCanvas ->refresh ();
You can’t perform that action at this time.
0 commit comments