mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
- Fixed a minor bug in destroy
This commit is contained in:
parent
60d2c8e349
commit
d8d1a0a561
@ -79,9 +79,6 @@ class DirectScrolledFrame(DirectFrame):
|
||||
def setAutoHideScrollBars(self):
|
||||
self.guiItem.setAutoHide(self['autoHideScrollBars'])
|
||||
|
||||
def destroy(self):
|
||||
DirectFrame.destroy(self)
|
||||
|
||||
def commandFunc(self):
|
||||
if self['command']:
|
||||
apply(self['command'], self['extraArgs'])
|
||||
@ -91,5 +88,5 @@ class DirectScrolledFrame(DirectFrame):
|
||||
for child in self.canvas.getChildrenAsList():
|
||||
childGui = self.guiDict.get(child.getName())
|
||||
if childGui: childGui.destroy()
|
||||
DirectFrame.DirectFrame.destroy(self)
|
||||
DirectFrame.destroy(self)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user