Disable completion for debug console.
As long as it's broken it's more annoying rather than useful. See #117.
This commit is contained in:
parent
8e0dddf86a
commit
813ce9a513
@ -57,17 +57,17 @@ class ConsoleLineEdit(miscwidgets.CommandLineEdit):
|
||||
super().__init__(parent)
|
||||
self.update_font()
|
||||
objreg.get('config').changed.connect(self.update_font)
|
||||
self.textChanged.connect(self.on_text_changed)
|
||||
#self.textChanged.connect(self.on_text_changed)
|
||||
|
||||
self._rlcompleter = rlcompleter.Completer(namespace)
|
||||
qcompleter = QCompleter(self)
|
||||
self._model = QStringListModel(qcompleter)
|
||||
qcompleter.setModel(self._model)
|
||||
qcompleter.setCompletionMode(
|
||||
QCompleter.UnfilteredPopupCompletion)
|
||||
qcompleter.setModelSorting(
|
||||
QCompleter.CaseSensitivelySortedModel)
|
||||
self.setCompleter(qcompleter)
|
||||
#self._rlcompleter = rlcompleter.Completer(namespace)
|
||||
#qcompleter = QCompleter(self)
|
||||
#self._model = QStringListModel(qcompleter)
|
||||
#qcompleter.setModel(self._model)
|
||||
#qcompleter.setCompletionMode(
|
||||
# QCompleter.UnfilteredPopupCompletion)
|
||||
#qcompleter.setModelSorting(
|
||||
# QCompleter.CaseSensitivelySortedModel)
|
||||
#self.setCompleter(qcompleter)
|
||||
|
||||
self._history = cmdhistory.History(parent=self)
|
||||
self.returnPressed.connect(self.on_return_pressed)
|
||||
|
Loading…
Reference in New Issue
Block a user