Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

settings: add QCompleter when appropriate

Some enterprising hacker could add smarter completers for many entries.
For instance, cipush could complete aliases in the repo.

Changeset 05db4c1d30e8

Parent 1fbf985901c0

by Steve Borho

Changes to one file · Browse files at 05db4c1d30e8 Showing diff from parent 1fbf985901c0 Diff from another changeset...

 
35
36
37
 
 
 
38
39
40
 
348
349
350
351
 
352
353
354
 
35
36
37
38
39
40
41
42
43
 
351
352
353
 
354
355
356
357
@@ -35,6 +35,9 @@
  self.setEditable(opts.get('canedit', False))   self.setValidator(opts.get('validator', None))   self.defaults = opts.get('defaults', []) + if self.defaults and self.isEditable(): + comp = QCompleter(self.defaults) + self.setCompleter(comp)   self.curvalue = None   self.loaded = False   if 'nohist' in opts: @@ -348,7 +351,7 @@
  ' Default: None')),   (_('Auto Exclude List'), 'tortoisehg.ciexclude', genEditCombo,   _('Comma separated list of files that are automatically unchecked' - ' when the status, commit, and shelve dialogs are opened.' + ' when the status, and commit dialogs are opened.'   ' Default: None')),   (_('English Messages'), 'tortoisehg.engmsg', genBoolCombo,   _('Generate English commit messages even if LANGUAGE or LANG'