mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
issues/657
This commit is contained in:
parent
a61270a7c5
commit
9060846b24
@ -173,6 +173,9 @@ class Settin(closeashidewindow):
|
|||||||
class TabWidget(QWidget):
|
class TabWidget(QWidget):
|
||||||
currentChanged = pyqtSignal(int)
|
currentChanged = pyqtSignal(int)
|
||||||
|
|
||||||
|
def setCurrentIndex(self, idx):
|
||||||
|
self.list_widget.setCurrentRow(idx)
|
||||||
|
|
||||||
def __init__(self, parent=None):
|
def __init__(self, parent=None):
|
||||||
super(TabWidget, self).__init__(parent)
|
super(TabWidget, self).__init__(parent)
|
||||||
layout = QHBoxLayout()
|
layout = QHBoxLayout()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user