tuse column 1 because column 0 may be hidden - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 6a3e5f1f95f886c55cef731db14de2a852c807fa DIR parent 52b8ee976f317fdec7583514fb919d1781184c76 HTML Author: ThomasV <thomasv@gitorious> Date: Sun, 10 Jun 2012 00:29:19 +0200 use column 1 because column 0 may be hidden Diffstat: M lib/gui_qt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/lib/gui_qt.py b/lib/gui_qt.py t@@ -763,7 +763,8 @@ class ElectrumWindow(QMainWindow): item.setBackgroundColor(1, QColor('red')) l.addTopLevelItem(item) - l.setCurrentItem(l.topLevelItem(0)) + # we use column 1 because column 0 may be hidden + l.setCurrentItem(l.topLevelItem(0),1) def show_contact_details(self, m): a = self.wallet.aliases.get(m)