aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/templates/wizards/files/glsl/gl/vertex/wizard.json
diff options
context:
space:
mode:
Diffstat (limited to 'share/qtcreator/templates/wizards/files/glsl/gl/vertex/wizard.json')
-rw-r--r--share/qtcreator/templates/wizards/files/glsl/gl/vertex/wizard.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/qtcreator/templates/wizards/files/glsl/gl/vertex/wizard.json b/share/qtcreator/templates/wizards/files/glsl/gl/vertex/wizard.json
index 38d2df2947..48f1f68afd 100644
--- a/share/qtcreator/templates/wizards/files/glsl/gl/vertex/wizard.json
+++ b/share/qtcreator/templates/wizards/files/glsl/gl/vertex/wizard.json
@@ -10,6 +10,8 @@
"platformIndependent": true,
"enabled": "%{JS: value('Plugins').indexOf('GLSLEditor') >= 0}",
+ "options": { "key": "DefaultSuffix", "value": "%{JS: Util.preferredSuffix('text/x-glsl-vert')}" },
+
"pages" :
[
{
@@ -30,7 +32,7 @@
"data":
{
"source": "file.vert",
- "target": "%{JS: Util.fileName(value('TargetPath'), Util.preferredSuffix('text/x-glsl-vert'))}",
+ "target": "%{JS: Util.fileName(value('TargetPath'), value('DefaultSuffix'))}",
"openInEditor": true
}
}