Skip to content

Commit a3427ce

Browse files
committed
#3150 doc: add missing property
Signed-off-by: Patrizio Bekerle <[email protected]>
1 parent 2d3c50b commit a3427ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/scripting/examples/variables.qml

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import QOwnNotesTypes 1.0
88
Script {
99
// you have to define your registered variables so you can access them later
1010
property string myString;
11+
property string myStringSecret;
1112
property bool myBoolean;
1213
property string myText;
1314
property int myInt;
@@ -90,6 +91,7 @@ Script {
9091
// these variables will be set by QOwnNotes from the settings
9192
// if the user didn't set a variable your default value will be set
9293
script.log(myString);
94+
script.log(myStringSecret);
9395
script.log(myBoolean);
9496
script.log(myText);
9597
script.log(myInt);

0 commit comments

Comments
 (0)