Skip to content

Commit 2dab07b

Browse files
committed
change undefined checking to be clearer
1 parent 5c1d491 commit 2dab07b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uitools/import/Esri/ArcGISRuntime/Toolkit/CoordinateConversion.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ Pane {
286286
MenuItem {
287287
text: "Copy to clipboard"
288288
// Copy not available in pure QML API
289-
enabled: modelData===undefined
289+
enabled: typeof variantObject !== "undefined"
290290
visible: enabled
291291
height: enabled ? implicitHeight : 0
292292
onClicked: {

0 commit comments

Comments
 (0)