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

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed May 19 21:08:05 EDT 2010


Author: jef
Date: 2010-05-19 21:08:04 -0400 (Wed, 19 May 2010)
New Revision: 13533

Modified:
   trunk/qgis/src/app/qgsvectorlayerproperties.cpp
Log:
followup r13529

Modified: trunk/qgis/src/app/qgsvectorlayerproperties.cpp
===================================================================
--- trunk/qgis/src/app/qgsvectorlayerproperties.cpp	2010-05-19 14:03:13 UTC (rev 13532)
+++ trunk/qgis/src/app/qgsvectorlayerproperties.cpp	2010-05-20 01:08:04 UTC (rev 13533)
@@ -561,15 +561,7 @@
   {
     // set the subset sql for the layer
     layer->setSubsetString( txtSubsetSQL->toPlainText() );
-
-    // update the metadata with the updated sql subset
-    QString myStyle = QgsApplication::reportStyleSheet();
-    teMetadata->clear();
-    teMetadata->document()->setDefaultStyleSheet( myStyle );
-    teMetadata->setHtml( metadata() );
-
-    // update the extents of the layer (fetched from the provider)
-    layer->updateExtents();
+    mMetadataFilled = false;
   }
 
   // set up the scale based layer visibility stuff....



More information about the QGIS-commit mailing list