Switch preferences to use json files for templates.

This commit is contained in:
Markus Lampert
2017-09-23 13:40:47 -07:00
parent 059b3a4b42
commit a3db2a8c46
2 changed files with 5 additions and 2 deletions

View File

@@ -163,7 +163,7 @@ class JobPreferencesPage:
foo = QtGui.QFileDialog.getOpenFileName(QtGui.qApp.activeWindow(),
"Path - Job Template",
path,
"job_*.xml")[0]
"job_*.json")[0]
if foo:
self.form.leDefaultJobTemplate.setText(foo)