mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
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:
parent
6c8dfaf437
commit
ab258797f4
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user