59 @pyqtSlot() |
57 @pyqtSlot() |
60 def on_configButton_clicked(self): |
58 def on_configButton_clicked(self): |
61 """ |
59 """ |
62 Private slot to edit the (per user) Mercurial configuration file. |
60 Private slot to edit the (per user) Mercurial configuration file. |
63 """ |
61 """ |
|
62 from QScintilla.MiniEditor import MiniEditor |
64 cfgFile = self.__plugin.getConfigPath() |
63 cfgFile = self.__plugin.getConfigPath() |
65 if not os.path.exists(cfgFile): |
64 if not os.path.exists(cfgFile): |
66 try: |
65 try: |
67 f = open(cfgFile, "w") |
66 f = open(cfgFile, "w") |
68 f.close() |
67 f.close() |