mirror of
https://github.com/panda3d/panda3d.git
synced 2025-12-30 11:39:48 -06:00
tkpanels: properly test "None" return from askopenfilename
This commit is contained in:
@@ -276,7 +276,7 @@ class AnimPanel(AppShell):
|
||||
title = 'Load Animation',
|
||||
parent = self.component('hull')
|
||||
)
|
||||
if not animFilename and animFilename != 'None':
|
||||
if not animFilename or animFilename == 'None':
|
||||
# no file selected, canceled
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user