Skip to content
Permalink
Browse files

don't open feature form and identify results window (fixes reintroduced

  • Loading branch information
jef-n committed Apr 21, 2014
1 parent 8c596c6 commit 46ce0065b6df919d9016a5c376befa5d2e9cfda6
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/app/qgsidentifyresultsdialog.cpp
@@ -267,6 +267,8 @@ QgsIdentifyResultsDialog::QgsIdentifyResultsDialog( QgsMapCanvas *canvas, QWidge
mExpandNewToolButton->setIcon( QgsApplication::getThemeIcon( "/mActionExpandNewTree.png" ) );
mCopyToolButton->setIcon( QgsApplication::getThemeIcon( "/mActionEditCopy.png" ) );
mPrintToolButton->setIcon( QgsApplication::getThemeIcon( "/mActionFilePrint.png" ) );
mOpenFormButton->setIcon( QgsApplication::getThemeIcon( "/mActionPropertyItem.png" ) );
mOpenFormButton->setDisabled( true );

QSettings mySettings;
restoreGeometry( mySettings.value( "/Windows/Identify/geometry" ).toByteArray() );
@@ -664,6 +666,7 @@ void QgsIdentifyResultsDialog::show()
// don't show the form dialog instead of the results window
lstResults->setCurrentItem( featItem );
featureForm();
return;
}
}

@@ -1098,6 +1101,7 @@ void QgsIdentifyResultsDialog::handleCurrentItemChanged( QTreeWidgetItem *curren

QgsIdentifyResultsFeatureItem *featItem = dynamic_cast<QgsIdentifyResultsFeatureItem *>( featureItem( current ) );
mCopyToolButton->setEnabled( featItem && featItem->feature().isValid() );
mOpenFormButton->setEnabled( featItem && featItem->feature().isValid() );

if ( !current )
{

0 comments on commit 46ce006

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