Skip to content

Commit 6fb74b9

Browse files
committed
Be explicit about requiresData
1 parent 82feb35 commit 6fb74b9

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

inst/Description.qml

+7-5
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ Description
2323

2424
Analysis
2525
{
26-
title: qsTr("Add one") // Title for window
27-
menu: qsTr("Add one") // Title for ribbon
28-
func: "addOne" // Function to be called
29-
qml: "Integer.qml" // Design input window
26+
title: qsTr("Add one") // Title for window
27+
menu: qsTr("Add one") // Title for ribbon
28+
func: "addOne" // Function to be called
29+
qml: "Integer.qml" // Design input window
30+
requiresData: false // Allow to run even without data
3031
}
3132

3233
Analysis
@@ -47,13 +48,14 @@ Description
4748

4849
GroupTitle
4950
{
50-
title: qsTr("Plotting")
51+
title: qsTr("Plotting")
5152
}
5253

5354
Analysis
5455
{
5556
title: qsTr("Plot a parabola")
5657
func: "parabola"
5758
qml: "Parabola.qml"
59+
requiresData: false
5860
}
5961
}

0 commit comments

Comments
 (0)