Skip to content

Commit ab6b898

Browse files
author
timlinux
committedNov 6, 2009
Whopppeeeee hackfest bug fix for ticket #2012 from Anita and Tim
git-svn-id: http://svn.osgeo.org/qgis/trunk@11928 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent ea9c9ff commit ab6b898

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed
 

‎src/app/qgsmaptoolidentify.cpp

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,16 @@ void QgsMapToolIdentify::canvasReleaseEvent( QMouseEvent * e )
144144
}
145145
else
146146
{
147-
mResults->hide();
147+
QSettings mySettings;
148+
bool myDockFlag = mySettings.value( "/qgis/dockIdentifyResults", false ).toBool();
149+
if ( !myDockFlag )
150+
{
151+
mResults->hide();
152+
}
153+
else
154+
{
155+
mResults->clear();
156+
}
148157
QMessageBox::information( 0, tr( "Identify results" ), tr( "No features at this position found." ) );
149158
}
150159
}

0 commit comments

Comments
 (0)
Please sign in to comment.