mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
*** empty log message ***
This commit is contained in:
parent
6e43d6f6a2
commit
f3c60614a8
@ -78,9 +78,9 @@ class DirectScrolledList(DirectFrame):
|
||||
if (len(self["items"]) <= self["numItemsVisible"]):
|
||||
self.incButton['state'] = DISABLED
|
||||
self.decButton['state'] = DISABLED
|
||||
# Hmm.. just reset self.index to 0 I guess
|
||||
# Hmm.. just reset self.index to 0 and bail out
|
||||
self.index = 0
|
||||
return
|
||||
return 0
|
||||
|
||||
if (self.index <= 0):
|
||||
self.index = 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user