diff options
Diffstat (limited to 'share/qtcreator/templates/wizards/files/glsl/gl/fragment/wizard.json')
-rw-r--r-- | share/qtcreator/templates/wizards/files/glsl/gl/fragment/wizard.json | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/share/qtcreator/templates/wizards/files/glsl/gl/fragment/wizard.json b/share/qtcreator/templates/wizards/files/glsl/gl/fragment/wizard.json index 900e4f8f68..28a018945b 100644 --- a/share/qtcreator/templates/wizards/files/glsl/gl/fragment/wizard.json +++ b/share/qtcreator/templates/wizards/files/glsl/gl/fragment/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-frag')}" }, + "pages" : [ { @@ -30,7 +32,7 @@ "data": { "source": "file.frag", - "target": "%{JS: Util.fileName(value('TargetPath'), Util.preferredSuffix('text/x-glsl-frag'))}", + "target": "%{JS: Util.fileName(value('TargetPath'), value('DefaultSuffix'))}", "openInEditor": true } } |