diff options
Diffstat (limited to 'Build/source/utils/asymptote/GUI/Window1.py')
-rw-r--r-- | Build/source/utils/asymptote/GUI/Window1.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/Build/source/utils/asymptote/GUI/Window1.py b/Build/source/utils/asymptote/GUI/Window1.py index 7fda2bfc357..fbdcca4ce5d 100644 --- a/Build/source/utils/asymptote/GUI/Window1.py +++ b/Build/source/utils/asymptote/GUI/Window1.py @@ -1735,15 +1735,7 @@ class MainWindow1(Qw.QMainWindow): if reply == Qw.QMessageBox.Yes: self.actionSave() - rawExternalEditor = self.settings['externalEditor'] - rawExtEditorArgs = self.settings['externalEditorArgs'] - execEditor = [rawExternalEditor] - - for arg in rawExtEditorArgs: - execEditor.append(string.Template( - arg).substitute(asypath=(self.filename))) - - subprocess.Popen(args=execEditor) + subprocess.Popen(args=self.getExternalEditor(asypath=self.filename)); def btnAddCodeOnClick(self): header = """ |