commit 6a3e5f1f95f886c55cef731db14de2a852c807fa
parent 52b8ee976f317fdec7583514fb919d1781184c76
Author: ThomasV <thomasv@gitorious>
Date: Sun, 10 Jun 2012 00:29:19 +0200
use column 1 because column 0 may be hidden
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/gui_qt.py b/lib/gui_qt.py
@@ -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)