git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
52b8ee9
)
use column 1 because column 0 may be hidden
author
ThomasV
<thomasv@gitorious>
Sat, 9 Jun 2012 22:29:19 +0000 (
00:29
+0200)
committer
ThomasV
<thomasv@gitorious>
Sat, 9 Jun 2012 22:29:19 +0000 (
00:29
+0200)
lib/gui_qt.py
patch
|
blob
|
history
diff --git
a/lib/gui_qt.py
b/lib/gui_qt.py
index
54b839f
..
3ab5288
100644
(file)
--- 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)