tfix: move test one line up - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 1f97dbc96e4b14a54f981e36a60de658ff18392f DIR parent 00c400f9fe6246710ba4953189fa3cb77bc6df32 HTML Author: ThomasV <thomasv@gitorious> Date: Sun, 10 Jun 2012 21:32:07 +0200 fix: move test one line up 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@@ -279,8 +279,8 @@ class ElectrumWindow(QMainWindow): def create_history_menu(self, position): self.history_list.selectedIndexes() item = self.history_list.currentItem() - tx_hash = str(item.toolTip(0)) if not item: return + tx_hash = str(item.toolTip(0)) menu = QMenu() menu.addAction(_("Copy ID to Clipboard"), lambda: self.app.clipboard().setText(tx_hash)) menu.addAction(_("Details"), lambda: self.tx_details(tx_hash))