def mouseDoubleClickEvent(self, event):
        if event.button() != Qt.LeftButton:
            return
        index = self.tabAt(event.pos())
        if 0 >= index:
            self.rename_tab(index)
dataset/ETHPy150Open glue-viz/glue/glue/utils/qt/helpers.py/GlueTabBar.mouseDoubleClickEvent/swapped operands of `>=`