regression ui: add default editor for linux.

pull/861/head
Kim Kulling 2016-04-21 19:19:06 +02:00
parent af75390f8d
commit f905f5700f
1 changed files with 4 additions and 1 deletions

View File

@ -195,7 +195,10 @@ class RegDialog( object ):
self.b_update_ = None self.b_update_ = None
self.b_res_checker_ = None self.b_res_checker_ = None
self.b_quit_ = 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.root = None
self.width=40 self.width=40