Skip to content

Commit

Permalink
Change default property value
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinBuira committed Jul 31, 2024
1 parent ac0b7ec commit 7081bca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/guidelinecontroller.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class GuidelineController : public QObject
QgsGeometry mRealGeometry;
InputMapSettings *mMapSettings = nullptr; // not owned
Vertex mActiveVertex;
bool mAllowed;
bool mAllowed = true;
RecordingMapTool::InsertPolicy mInsertPolicy;
int mActivePart = 0;
int mActiveRing = 0;
Expand Down
3 changes: 1 addition & 2 deletions app/qml/map/MMSplittingTools.qml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ Item {
MM.GuidelineController {
id: guidelineController

allowed: true

mapSettings: root.map.mapSettings
crosshairPosition: crosshair.screenPoint
realGeometry: __inputUtils.transformGeometryToMapWithLayer( mapTool.recordedGeometry, __activeLayer.vectorLayer, root.map.mapSettings )
Expand Down Expand Up @@ -68,6 +66,7 @@ Item {
width: map.width

lineColor: __style.deepOceanColor
lineWidth: MMHighlight.LineWidths.Narrow

mapSettings: root.map.mapSettings
geometry: __inputUtils.transformGeometryToMapWithLayer( mapTool.recordedGeometry, __activeLayer.vectorLayer, root.map.mapSettings )
Expand Down

1 comment on commit 7081bca

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iOS - version 24.7.646211 just submitted!

Please sign in to comment.