mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
fix #3656
git-svn-id: http://svn.osgeo.org/qgis/trunk@15552 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
61fe50a0d6
commit
ed75d6842c
@ -307,7 +307,7 @@ void QgsSnappingDialog::addLayer( QgsMapLayer * theMapLayer )
|
|||||||
|
|
||||||
void QgsSnappingDialog::layerWillBeRemoved( QString theLayerId )
|
void QgsSnappingDialog::layerWillBeRemoved( QString theLayerId )
|
||||||
{
|
{
|
||||||
QTreeWidgetItem *item;
|
QTreeWidgetItem *item = 0;
|
||||||
|
|
||||||
for ( int i = 0; i < mLayerTreeWidget->topLevelItemCount(); ++i )
|
for ( int i = 0; i < mLayerTreeWidget->topLevelItemCount(); ++i )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user