Skip to content
Permalink
Browse files

don't open the identify dialog beforehand if 'Open feature form, if a…

… single feature is identified' is active and there is only one result (fixes #9631)
  • Loading branch information
jef-n committed Feb 24, 2014
1 parent 75a2edb commit b59233546f90bb626ecfe4458cf246d585032e9b
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/app/qgsmaptoolidentifyaction.cpp
@@ -97,9 +97,10 @@ void QgsMapToolIdentifyAction::canvasReleaseEvent( QMouseEvent *e )

if ( !results.isEmpty() )
{
// Show the dialog before items are inserted so that items can resize themselfs
// Show the dialog before items are inserted so that items can resize themselves
// according to dialog size also the first time, see also #9377
resultsDialog()->QDialog::show();
if( results.size() != 1 || !QSettings().value( "/Map/identifyAutoFeatureForm", false ).toBool() )
resultsDialog()->QDialog::show();

QList<IdentifyResult>::const_iterator result;
for ( result = results.begin(); result != results.end(); ++result )

0 comments on commit b592335

Please sign in to comment.
You can’t perform that action at this time.