[QGIS Commit] r13864 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Thu Jul 1 02:58:03 EDT 2010


Author: jef
Date: 2010-07-01 06:58:03 +0000 (Thu, 01 Jul 2010)
New Revision: 13864

Modified:
   trunk/qgis/src/app/qgsmaptooladdfeature.cpp
   trunk/qgis/src/app/qgsmaptoolcapture.cpp
Log:
workaround for #2853

Modified: trunk/qgis/src/app/qgsmaptooladdfeature.cpp
===================================================================
--- trunk/qgis/src/app/qgsmaptooladdfeature.cpp	2010-07-01 06:56:13 UTC (rev 13863)
+++ trunk/qgis/src/app/qgsmaptooladdfeature.cpp	2010-07-01 06:58:03 UTC (rev 13864)
@@ -486,11 +486,6 @@
           vlayer->endEditCommand();
         }
         mypDialog->deleteLater();
-
-#ifdef Q_OS_WIN
-        // hope your wearing your peril sensitive sunglasses.
-        QgisApp::instance()->skipNextContextMenuEvent();
-#endif
       }
       delete f;
 

Modified: trunk/qgis/src/app/qgsmaptoolcapture.cpp
===================================================================
--- trunk/qgis/src/app/qgsmaptoolcapture.cpp	2010-07-01 06:56:13 UTC (rev 13863)
+++ trunk/qgis/src/app/qgsmaptoolcapture.cpp	2010-07-01 06:58:03 UTC (rev 13864)
@@ -175,6 +175,11 @@
 
   mGeomErrors.clear();
 
+#ifdef Q_OS_WIN
+  // hope your wearing your peril sensitive sunglasses.
+  QgisApp::instance()->skipNextContextMenuEvent();
+#endif
+
   mCapturing = false;
   mCaptureList.clear();
   mCanvas->refresh();



More information about the QGIS-commit mailing list