From f905f5700fda5ad01a1b86321c26e3fc42174564 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Thu, 21 Apr 2016 19:19:06 +0200 Subject: [PATCH] regression ui: add default editor for linux. --- test/regression/ai_regression_ui.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/regression/ai_regression_ui.py b/test/regression/ai_regression_ui.py index 9cad1b8c7..a7eeed464 100644 --- a/test/regression/ai_regression_ui.py +++ b/test/regression/ai_regression_ui.py @@ -195,7 +195,10 @@ class RegDialog( object ): self.b_update_ = None self.b_res_checker_ = None self.b_quit_ = None - self.editor = "notepad" + if platform.system() == "Windows": + self.editor = "notepad" + elif platform.system() == "Linux": + self.editor = "vim" self.root = None self.width=40