pass extraArgs to DirectDialog buttons
This commit is contained in:
parent
87fdb3df0e
commit
e62fb2a029
|
|
@ -318,7 +318,7 @@ class DirectDialog(DirectFrame):
|
|||
|
||||
def buttonCommand(self, value, event = None):
|
||||
if self['command']:
|
||||
self['command'](value)
|
||||
self['command'](value, *self['extraArgs'])
|
||||
|
||||
def setMessage(self, message):
|
||||
self['text'] = message
|
||||
|
|
|
|||
Loading…
Reference in New Issue