fix _next
This commit is contained in:
parent
fcd7e8fd6d
commit
dd63a31ec9
2 changed files with 3 additions and 1 deletions
|
@ -17,6 +17,7 @@ encoding//Demo/SingleApplication.py=utf-8
|
|||
encoding//Demo/VerificationCode.py=utf-8
|
||||
encoding//Demo/WeltHideWindow.py=utf-8
|
||||
encoding//Demo/WindowNotify.py=utf-8
|
||||
encoding//QAxWidget/ViewOffice.py=utf-8
|
||||
encoding//QChart/LineChart.py=utf-8
|
||||
encoding//QFont/AwesomeFont.py=utf-8
|
||||
encoding//QFont/Lib/FontAwesome.py=utf-8
|
||||
|
@ -30,6 +31,7 @@ encoding//QProgressBar/MetroCircleProgress.py=utf-8
|
|||
encoding//QProgressBar/PercentProgressBar.py=utf-8
|
||||
encoding//QProgressBar/SimpleStyle.py=utf-8
|
||||
encoding//QProgressBar/WaterProgressBar.py=utf-8
|
||||
encoding//QPropertyAnimation/Lib/SlidingStackedWidget.py=utf-8
|
||||
encoding//QProxyStyle/Lib/TabBarStyle.py=utf-8
|
||||
encoding//QProxyStyle/TabTextDirection.py=utf-8
|
||||
encoding//QPushButton/BottomLineProgress.py=utf-8
|
||||
|
|
|
@ -119,7 +119,7 @@ class SlidingStackedWidget(QStackedWidget):
|
|||
self._active = 1
|
||||
_now = self.currentIndex()
|
||||
_next = self.indexOf(widget)
|
||||
if _now == next:
|
||||
if _now == _next:
|
||||
self._active = 0
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in a new issue