We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca210dc commit b72f0f0Copy full SHA for b72f0f0
python/plugins/processing/script/ScriptEditorDialog.py
@@ -172,14 +172,14 @@ def saveAs(self):
172
def loadFrom(self):
173
if self.hasChanged:
174
ret = QMessageBox.warning(self,
175
- self.tr("Unsaved changes"),
+ self.tr("Load Script From Template"),
176
self.tr("There are unsaved changes in the script. Continue?"),
177
QMessageBox.Yes | QMessageBox.No, QMessageBox.No)
178
if ret == QMessageBox.No:
179
return
180
181
templatePath = os.path.join(
182
- pluginPath, 'script', 'script_template.py')
+ pluginPath, 'script', 'ScriptTemplate.py')
183
184
with codecs.open(templatePath, 'r', encoding='utf-8') as f:
185
templateTxt = f.read()
0 commit comments