Skip to content

Commit

Permalink
[QgsQuick] Fixed init error and added qml file to the list.
Browse files Browse the repository at this point in the history
Added new widget to qgsquick.qrc list
Get rid of error on qgsquickrelation widget init, when currentMap variable is undefined.
  • Loading branch information
vsklencar authored and wonder-sk committed Apr 10, 2019
1 parent 7631ddd commit f8e4331
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/quickgui/plugin/editor/qgsquickvaluerelation.qml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Item {

property var reverseConfig: ({})
property var currentValue: value
property var currentMap
property var currentMap: ({})
property var currentKey
height: parent.height
anchors { left: parent.left; right: parent.right }
Expand Down
1 change: 1 addition & 0 deletions src/quickgui/plugin/qgsquick.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<file>editor/qgsquickexternalresource.qml</file>
<file>editor/qgsquicktextedit.qml</file>
<file>editor/qgsquickvaluemap.qml</file>
<file>editor/qgsquickvaluerelation.qml</file>
<file>qgsquickfeatureform.qml</file>
<file>qgsquickfeatureformstyling.qml</file>
<file>qgsquickmapcanvas.qml</file>
Expand Down

0 comments on commit f8e4331

Please sign in to comment.