fixed bug that caused multiple properties dialogs to be displayed

git-svn-id: http://svn.osgeo.org/qgis/trunk@521 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
gsherman 2004-01-19 19:07:18 +00:00
parent 6c8dfaf437
commit ab258797f4

View File

@ -859,8 +859,10 @@ void QgisApp::layerProperties(QListViewItem * lvi)
delete rlp;
qApp->processEvents();
}
}else{
lyr->showLayerProperties();
}
else if ((lyr->type()==QgsMapLayer::VECTOR) || (lyr->type()==QgsMapLayer::DATABASE))
/* else if ((lyr->type()==QgsMapLayer::VECTOR) || (lyr->type()==QgsMapLayer::DATABASE))
{
QgsLayerProperties *lp = new QgsLayerProperties(lyr);
if (lp->exec()) {
@ -891,11 +893,11 @@ void QgisApp::layerProperties(QListViewItem * lvi)
"Unknown Layer Type");
}
*/
lyr->showLayerProperties();
// lyr->showLayerProperties();
}
//>>>>>>> 1.97.2.17