Skip to content

Commit b72f0f0

Browse files
ghtmttnyalldawson
authored andcommitted
Minor changes in Dialog
1 parent ca210dc commit b72f0f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/plugins/processing/script/ScriptEditorDialog.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -172,14 +172,14 @@ def saveAs(self):
172172
def loadFrom(self):
173173
if self.hasChanged:
174174
ret = QMessageBox.warning(self,
175-
self.tr("Unsaved changes"),
175+
self.tr("Load Script From Template"),
176176
self.tr("There are unsaved changes in the script. Continue?"),
177177
QMessageBox.Yes | QMessageBox.No, QMessageBox.No)
178178
if ret == QMessageBox.No:
179179
return
180180

181181
templatePath = os.path.join(
182-
pluginPath, 'script', 'script_template.py')
182+
pluginPath, 'script', 'ScriptTemplate.py')
183183

184184
with codecs.open(templatePath, 'r', encoding='utf-8') as f:
185185
templateTxt = f.read()

0 commit comments

Comments
 (0)