VCS/CommandOptionsDialog.py

changeset 4486
0538abbe71d0
parent 4021
195a471c327b
child 4631
5c1a96925da4
equal deleted inserted replaced
4485:28743e3251ce 4486:0538abbe71d0
27 @param vcs reference to the vcs object 27 @param vcs reference to the vcs object
28 @param parent parent widget (QWidget) 28 @param parent parent widget (QWidget)
29 """ 29 """
30 super(VcsCommandOptionsDialog, self).__init__(parent) 30 super(VcsCommandOptionsDialog, self).__init__(parent)
31 self.setupUi(self) 31 self.setupUi(self)
32
33 if Utilities.isWindowsPlatform():
34 self.optionChars = ['-', '/']
35 else:
36 self.optionChars = ['-']
37 32
38 opt = vcs.vcsGetOptions() 33 opt = vcs.vcsGetOptions()
39 self.globalEdit.setText(" ".join(opt['global'])) 34 self.globalEdit.setText(" ".join(opt['global']))
40 self.commitEdit.setText(" ".join(opt['commit'])) 35 self.commitEdit.setText(" ".join(opt['commit']))
41 self.checkoutEdit.setText(" ".join(opt['checkout'])) 36 self.checkoutEdit.setText(" ".join(opt['checkout']))

eric ide

mercurial