Commit f6aad8b
committed
[BUGFIX] Emit layerWillBeRemoved like layersWillBeRemoved (#3194)
The signal layerWillBeremoved is only emitted when the layer is owned by QgsMapLayerRegistry.
To fix it just move the emitted layerWilBeRemoved out of the scope of layers owned by QgsMapLayerRegistry.1 parent 9494dce commit f6aad8b
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
147 | 149 | | |
148 | 150 | | |
149 | | - | |
150 | | - | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| |||
0 commit comments