Skip to content

Commit

Permalink
fix _next
Browse files Browse the repository at this point in the history
  • Loading branch information
892768447 committed Apr 3, 2019
1 parent fcd7e8f commit dd63a31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .settings/org.eclipse.core.resources.prefs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion QPropertyAnimation/Lib/SlidingStackedWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def slideInWgt(self, widget, direction):
self._active = 1
_now = self.currentIndex()
_next = self.indexOf(widget)
if _now == next:
if _now == _next:
self._active = 0
return

Expand Down

0 comments on commit dd63a31

Please sign in to comment.