Skip to content

Commit

Permalink
Make the dashboard as well as the overlay feature form drawer accessi…
Browse files Browse the repository at this point in the history
…ble from plugins
  • Loading branch information
nirvn committed Jun 16, 2024
1 parent 1322276 commit e1eb045
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/qml/OverlayFeatureFormDrawer.qml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ Drawer {

property bool isSaved: false

digitizingToolbar: overlayFeatureFormDrawer.digitizingToolbar
codeReader: overlayFeatureFormDrawer.codeReader

model: AttributeFormModel {
id: attributeFormModel
featureModel: FeatureModel {
Expand Down
2 changes: 2 additions & 0 deletions src/qml/qgismobileapp.qml
Original file line number Diff line number Diff line change
Expand Up @@ -2132,6 +2132,7 @@ ApplicationWindow {

DashBoard {
id: dashBoard
objectName: "dashBoard"
allowActiveLayerChange: !digitizingToolbar.isDigitizing
mapSettings: mapCanvas.mapSettings
interactive: !welcomeScreen.visible
Expand Down Expand Up @@ -3309,6 +3310,7 @@ ApplicationWindow {

OverlayFeatureFormDrawer {
id: overlayFeatureFormDrawer
objectName: "overlayFeatureFormDrawer"
digitizingToolbar: digitizingToolbar
codeReader: codeReader
featureModel.currentLayer: dashBoard.activeLayer
Expand Down

1 comment on commit e1eb045

@qfield-fairy
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please sign in to comment.