fix _next

This commit is contained in:
Irony 2019-04-03 11:51:33 +08:00
parent fcd7e8fd6d
commit dd63a31ec9
2 changed files with 3 additions and 1 deletions

View file

@ -17,6 +17,7 @@ encoding//Demo/SingleApplication.py=utf-8
encoding//Demo/VerificationCode.py=utf-8 encoding//Demo/VerificationCode.py=utf-8
encoding//Demo/WeltHideWindow.py=utf-8 encoding//Demo/WeltHideWindow.py=utf-8
encoding//Demo/WindowNotify.py=utf-8 encoding//Demo/WindowNotify.py=utf-8
encoding//QAxWidget/ViewOffice.py=utf-8
encoding//QChart/LineChart.py=utf-8 encoding//QChart/LineChart.py=utf-8
encoding//QFont/AwesomeFont.py=utf-8 encoding//QFont/AwesomeFont.py=utf-8
encoding//QFont/Lib/FontAwesome.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/PercentProgressBar.py=utf-8
encoding//QProgressBar/SimpleStyle.py=utf-8 encoding//QProgressBar/SimpleStyle.py=utf-8
encoding//QProgressBar/WaterProgressBar.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/Lib/TabBarStyle.py=utf-8
encoding//QProxyStyle/TabTextDirection.py=utf-8 encoding//QProxyStyle/TabTextDirection.py=utf-8
encoding//QPushButton/BottomLineProgress.py=utf-8 encoding//QPushButton/BottomLineProgress.py=utf-8

View file

@ -119,7 +119,7 @@ class SlidingStackedWidget(QStackedWidget):
self._active = 1 self._active = 1
_now = self.currentIndex() _now = self.currentIndex()
_next = self.indexOf(widget) _next = self.indexOf(widget)
if _now == next: if _now == _next:
self._active = 0 self._active = 0
return return