mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-01 09:45:18 +00:00
revert previous commit; it messes with menus
This commit is contained in:
parent
7a50861bf7
commit
ef32b336d6
1 changed files with 0 additions and 9 deletions
|
@ -103,15 +103,6 @@ class MyTreeWidget(QTreeWidget):
|
||||||
self.emit(SIGNAL('customContextMenuRequested(const QPoint&)'), QPoint(50, i*5 + j - 1))
|
self.emit(SIGNAL('customContextMenuRequested(const QPoint&)'), QPoint(50, i*5 + j - 1))
|
||||||
|
|
||||||
self.connect(self, SIGNAL('itemActivated(QTreeWidgetItem*, int)'), ddfr)
|
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)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue