mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-17 00:04:02 -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;
|
delete rlp;
|
||||||
qApp->processEvents();
|
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);
|
QgsLayerProperties *lp = new QgsLayerProperties(lyr);
|
||||||
if (lp->exec()) {
|
if (lp->exec()) {
|
||||||
@ -891,11 +893,11 @@ void QgisApp::layerProperties(QListViewItem * lvi)
|
|||||||
"Unknown Layer Type");
|
"Unknown Layer Type");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// lyr->showLayerProperties();
|
||||||
lyr->showLayerProperties();
|
|
||||||
}
|
}
|
||||||
//>>>>>>> 1.97.2.17
|
//>>>>>>> 1.97.2.17
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user