

def itemactivated(self, item):
    if (not item):
        return
    for i in range(0, (self.viewport().height() / 5)):
        if (self.itemAt(QPoint(0, (i * 5))) == item):
            break
    else:
        return
    for j in range(0, 30):
        if (self.itemAt(QPoint(0, ((i * 5) + j))) != item):
            break
    self.emit(SIGNAL('customContextMenuRequested(const QPoint&)'), QPoint(50, (((i * 5) + i) - 1)))

dataset/ETHPy150Open bitxbay/BitXBay/electru/build/lib/electrum_gui/qt/util.py MyTreeWidget.itemactivated/VarMisuse@145/170 `j`->`i`