electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 3f81057c954473e5c379e515be483ffdf8555a94
parent e631e9c89c646746969bac9ef4851d8c11b575eb
Author: thomasv <thomasv@gitorious>
Date:   Tue, 12 Jun 2012 11:32:12 +0200

create self.completions in constructor

Diffstat:
Mlib/gui_qt.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/gui_qt.py b/lib/gui_qt.py @@ -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') ) @@ -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()