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

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Oct 31 05:10:07 EDT 2008


Author: jef
Date: 2008-10-31 05:10:07 -0400 (Fri, 31 Oct 2008)
New Revision: 9556

Modified:
   trunk/qgis/src/app/qgisapp.cpp
Log:
fix compile error

Modified: trunk/qgis/src/app/qgisapp.cpp
===================================================================
--- trunk/qgis/src/app/qgisapp.cpp	2008-10-29 11:57:42 UTC (rev 9555)
+++ trunk/qgis/src/app/qgisapp.cpp	2008-10-31 09:10:07 UTC (rev 9556)
@@ -5055,7 +5055,7 @@
       {
         mActionToggleEditing->setEnabled( true );
         mActionToggleEditing->setChecked( vlayer->isEditable() );
-        mActionPasteFeatures->setEnabled( vlayer->isEditable() and not clipboard()->empty());
+        mActionPasteFeatures->setEnabled( vlayer->isEditable() && !clipboard()->empty() );
       }
       else
       {



More information about the QGIS-commit mailing list