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

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Sep 3 06:31:47 EDT 2008


Author: jef
Date: 2008-09-03 06:31:46 -0400 (Wed, 03 Sep 2008)
New Revision: 9253

Modified:
   trunk/qgis/src/app/qgspgquerybuilder.cpp
Log:
allow filtered postgres tables to have no features

Modified: trunk/qgis/src/app/qgspgquerybuilder.cpp
===================================================================
--- trunk/qgis/src/app/qgspgquerybuilder.cpp	2008-09-02 23:58:38 UTC (rev 9252)
+++ trunk/qgis/src/app/qgspgquerybuilder.cpp	2008-09-03 10:31:46 UTC (rev 9253)
@@ -338,14 +338,18 @@
     }
     else
     {
+#if 0 // when is this necessary? [jef]
       if ( numRecs == 0 )
       {
         QMessageBox::warning( this, tr( "No Records" ), tr( "The query you specified results in zero records being returned. Valid PostgreSQL layers must have at least one feature." ) );
       }
       else
       {
+#endif
         this->accept();
+#if 0
       }
+#endif
     }
   }
   else



More information about the QGIS-commit mailing list