summaryrefslogtreecommitdiff
path: root/graphics/asymptote/GUI/Window1.py
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/GUI/Window1.py')
-rw-r--r--graphics/asymptote/GUI/Window1.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/graphics/asymptote/GUI/Window1.py b/graphics/asymptote/GUI/Window1.py
index 7fda2bfc35..fbdcca4ce5 100644
--- a/graphics/asymptote/GUI/Window1.py
+++ b/graphics/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 = """