Don't stop if already stopped
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -217,6 +217,8 @@ class Throbber(wxPanel):
|
||||
|
||||
def Stop(self):
|
||||
"""Stop the animation"""
|
||||
if self.event.isSet():
|
||||
return
|
||||
self.event.set()
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user