1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

Yuya Nishihara  committed c949919

qscilib: correct default value of auto-complete option

da85379d8bc8 says "disabled" by default, which is -1.

  • Participants
  • Parent commits f3aba0f
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/qscilib.py

View file
         self.setEolVisibility(qs.value(prefix+'/eol').toBool())
         self.setIndentationsUseTabs(qs.value(prefix+'/usetabs').toInt()[0])
         self.setDefaultEolMode()
-        self.setAutoCompletionThreshold(qs.value(prefix+'/autocomplete').toInt()[0])
+        self.setAutoCompletionThreshold(
+            qs.value(prefix+'/autocomplete', -1).toInt()[0])
 
 
     @pyqtSlot(unicode, bool, bool, bool)