Skip to content

Commit

Permalink
using current layer property
Browse files Browse the repository at this point in the history
  • Loading branch information
VitorVieiraZ committed Oct 4, 2024
1 parent 4e9e8de commit b592764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/qml/layers/MMFeaturesListPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ MMComponents.MMPage {

property var selectedLayer: null
property bool hasToolbar: false
property bool layerIsReadOnly: featuresModel.layer?.readOnly ?? false
property bool layerIsReadOnly: selectedLayer?.readOnly ?? false

signal featureClicked( var featurePair )
signal addFeatureClicked( var toLayer )
Expand Down

0 comments on commit b592764

Please sign in to comment.