Skip to content
Permalink
Browse files

fix #2236

git-svn-id: http://svn.osgeo.org/qgis/trunk@12392 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Dec 10, 2009
1 parent 0c5ea3a commit e4ee39fdba7a524aca1badfdd8c19669d5ad0844
Showing with 6 additions and 2 deletions.
  1. +6 −2 src/app/qgsprojectproperties.cpp
@@ -232,7 +232,9 @@ QgsProjectProperties::QgsProjectProperties( QgsMapCanvas* mapCanvas, QWidget *pa
twi->setData( Qt::UserRole, it.key() );
twIdentifyLayers->setVerticalHeaderItem( i, twi );

twIdentifyLayers->setItem( i, 0, new QTableWidgetItem( currentLayer->name() ) );
twi = new QTableWidgetItem( currentLayer->name() );
twi->setFlags( twi->flags() & ~Qt::ItemIsEditable );
twIdentifyLayers->setItem( i, 0, twi );

QString type;
if ( currentLayer->type() == QgsMapLayer::VectorLayer )
@@ -253,7 +255,9 @@ QgsProjectProperties::QgsProjectProperties( QgsMapCanvas* mapCanvas, QWidget *pa
}
}

twIdentifyLayers->setItem( i, 1, new QTableWidgetItem( type ) );
twi = new QTableWidgetItem( type );
twi->setFlags( twi->flags() & ~Qt::ItemIsEditable );
twIdentifyLayers->setItem( i, 1, twi );

QCheckBox *cb = new QCheckBox();
cb->setChecked( !noIdentifyLayerIdList.contains( currentLayer->getLayerID() ) );

0 comments on commit e4ee39f

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