80 """ |
80 """ |
81 Private slot to edit the (per user) Git configuration file. |
81 Private slot to edit the (per user) Git configuration file. |
82 """ |
82 """ |
83 from eric7.QScintilla.MiniEditor import MiniEditor |
83 from eric7.QScintilla.MiniEditor import MiniEditor |
84 |
84 |
|
85 from ..GitUserConfigDataDialog import GitUserConfigDataDialog |
|
86 |
85 cfgFile = self.__plugin.getConfigPath() |
87 cfgFile = self.__plugin.getConfigPath() |
86 if not os.path.exists(cfgFile): |
88 if not os.path.exists(cfgFile): |
87 from ..GitUserConfigDataDialog import GitUserConfigDataDialog |
|
88 |
|
89 dlg = GitUserConfigDataDialog() |
89 dlg = GitUserConfigDataDialog() |
90 if dlg.exec() == QDialog.DialogCode.Accepted: |
90 if dlg.exec() == QDialog.DialogCode.Accepted: |
91 firstName, lastName, email = dlg.getData() |
91 firstName, lastName, email = dlg.getData() |
92 else: |
92 else: |
93 firstName, lastName, email = ("Firstname", "Lastname", "email_address") |
93 firstName, lastName, email = ("Firstname", "Lastname", "email_address") |