Skip to content

Commit

Permalink
Whopppeeeee hackfest bug fix for ticket #2012 from Anita and Tim
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@11928 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Nov 6, 2009
1 parent ea9c9ff commit ab6b898
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/app/qgsmaptoolidentify.cpp
Expand Up @@ -144,7 +144,16 @@ void QgsMapToolIdentify::canvasReleaseEvent( QMouseEvent * e )
}
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." ) );
}
}
Expand Down

0 comments on commit ab6b898

Please sign in to comment.