git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7a50861
)
revert previous commit; it messes with menus
author
ThomasV
<thomasv@gitorious>
Sun, 10 Jun 2012 16:08:56 +0000 (18:08 +0200)
committer
ThomasV
<thomasv@gitorious>
Sun, 10 Jun 2012 16:08:56 +0000 (18:08 +0200)
lib/gui_qt.py
patch
|
blob
|
history
diff --git
a/lib/gui_qt.py
b/lib/gui_qt.py
index
b45a5c8
..
241d89a
100644
(file)
--- a/
lib/gui_qt.py
+++ b/
lib/gui_qt.py
@@
-103,15
+103,6
@@
class MyTreeWidget(QTreeWidget):
self.emit(SIGNAL('customContextMenuRequested(const QPoint&)'), QPoint(50, i*5 + j - 1))
self.connect(self, SIGNAL('itemActivated(QTreeWidgetItem*, int)'), ddfr)
- self.my_item = None
-
- def focusInEvent(self, e):
- # we use column 1 because column 0 may be hidden
- self.setCurrentItem(self.my_item,1)
-
- def focusOutEvent(self, e):
- self.my_item = self.currentItem()
- self.setCurrentItem(None)