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

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Nov 6 05:49:37 EST 2009


Author: timlinux
Date: 2009-11-06 05:49:36 -0500 (Fri, 06 Nov 2009)
New Revision: 11928

Modified:
   trunk/qgis/src/app/qgsmaptoolidentify.cpp
Log:
Whopppeeeee hackfest bug fix for ticket #2012 from Anita and Tim

Modified: trunk/qgis/src/app/qgsmaptoolidentify.cpp
===================================================================
--- trunk/qgis/src/app/qgsmaptoolidentify.cpp	2009-11-06 10:42:11 UTC (rev 11927)
+++ trunk/qgis/src/app/qgsmaptoolidentify.cpp	2009-11-06 10:49:36 UTC (rev 11928)
@@ -144,7 +144,16 @@
   }
   else
   {
-    mResults->hide();
+    QSettings mySettings;
+    bool myDockFlag = mySettings.value( "/qgis/dockIdentifyResults", false ).toBool();
+    if ( !myDockFlag )
+    {
+      mResults->hide();
+    }
+    else
+    {
+      mResults->clear();
+    }
     QMessageBox::information( 0, tr( "Identify results" ), tr( "No features at this position found." ) );
   }
 }



More information about the QGIS-commit mailing list