diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs index b5aaf85..9a48159 100644 --- a/.settings/org.eclipse.core.resources.prefs +++ b/.settings/org.eclipse.core.resources.prefs @@ -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 diff --git a/QPropertyAnimation/Lib/SlidingStackedWidget.py b/QPropertyAnimation/Lib/SlidingStackedWidget.py index aae37a1..0d35b79 100644 --- a/QPropertyAnimation/Lib/SlidingStackedWidget.py +++ b/QPropertyAnimation/Lib/SlidingStackedWidget.py @@ -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