def _switch_left(self):
        """
        Switch page to left

        .. versionadded:: 0.8
        """
        current_tab = self.tabs.currentIndex()
        if current_tab > 0:
            self.tabs.setCurrentIndex(current_tab - 1)
dataset/ETHPy150Open tuturto/pyherc/src/herculeum/ui/gui/menu.py/MenuDialog._switch_left/original