tcreate self.completions in constructor - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 3f81057c954473e5c379e515be483ffdf8555a94 DIR parent e631e9c89c646746969bac9ef4851d8c11b575eb HTML Author: thomasv <thomasv@gitorious> Date: Tue, 12 Jun 2012 11:32:12 +0200 create self.completions in constructor Diffstat: M lib/gui_qt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/gui_qt.py b/lib/gui_qt.py t@@ -175,6 +175,7 @@ class ElectrumWindow(QMainWindow): self.wallet.gui_callback = self.update_callback self.funds_error = False + self.completions = QStringListModel() self.tabs = tabs = QTabWidget(self) tabs.addTab(self.create_history_tab(), _('History') ) t@@ -425,7 +426,6 @@ class ElectrumWindow(QMainWindow): completer = QCompleter() completer.setCaseSensitivity(False) self.payto_e.setCompleter(completer) - self.completions = QStringListModel() completer.setModel(self.completions) self.message_e = QLineEdit()