commit ef32b336d6023d88203476248f0de56f0c849858
parent 7a50861bf7890b723e0343d2ce52662a299f333a
Author: ThomasV <thomasv@gitorious>
Date: Sun, 10 Jun 2012 18:08:56 +0200
revert previous commit; it messes with menus
Diffstat:
1 file changed, 0 insertions(+), 9 deletions(-)
diff --git 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)