Changeset 581dccdce09f…
Parent 5e5f14416ea6…
by
Changes to one file · Browse files at 581dccdce09f Showing diff from parent 5e5f14416ea6 Diff from another changeset...
@@ -105,7 +105,6 @@
def edit(parent, ui, repo, files):
editor = (ui.config('tortoisehg', 'editor') or
- ui.config('gtools', 'editor') or
os.environ.get('HGEDITOR') or
ui.config('ui', 'editor') or
os.environ.get('EDITOR', 'vi'))
@@ -113,8 +112,9 @@ res = QtGui.QMessageBox.critical(parent,
_('No visual editor configured'),
_('Please configure a visual editor.'))
- #dlg = thgconfig.ConfigDialog(False, focus='tortoisehg.editor')
- #dlg.exec_()
+ from tortoisehg.hgqt.settings import SettingsDialog
+ dlg = SettingsDialog(False, focus='tortoisehg.editor')
+ dlg.exec_()
return
files = [util.shellquote(util.localpath(f)) for f in files]
|
Loading...