diff options
Diffstat (limited to 'share/qtcreator/templates/wizards/files/qrc/wizard.json')
-rw-r--r-- | share/qtcreator/templates/wizards/files/qrc/wizard.json | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/share/qtcreator/templates/wizards/files/qrc/wizard.json b/share/qtcreator/templates/wizards/files/qrc/wizard.json index 578eed58a1..fe8ea73d17 100644 --- a/share/qtcreator/templates/wizards/files/qrc/wizard.json +++ b/share/qtcreator/templates/wizards/files/qrc/wizard.json @@ -9,6 +9,8 @@ "iconText": "qrc", "enabled": "%{JS: value('Plugins').indexOf('ResourceEditor') >= 0}", + "options": { "key": "DefaultSuffix", "value": "%{JS: Util.preferredSuffix('application/vnd.qt.xml.resource')}" }, + "pages" : [ { @@ -29,7 +31,7 @@ "data": { "source": "file.qrc", - "target": "%{JS: Util.fileName(value('TargetPath'), Util.preferredSuffix('application/vnd.qt.xml.resource'))}", + "target": "%{JS: Util.fileName(value('TargetPath'), value('DefaultSuffix'))}", "openInEditor": true } } |