Make sure each grid has unique set of actions
This commit is contained in:
parent
4760295d6a
commit
a3b2fbadb7
|
@ -109,8 +109,8 @@ class Grid(object):
|
||||||
self.checked = checked
|
self.checked = checked
|
||||||
if self.checked is None:
|
if self.checked is None:
|
||||||
self.checked = lambda item: False
|
self.checked = lambda item: False
|
||||||
self.main_actions = main_actions
|
self.main_actions = main_actions or []
|
||||||
self.more_actions = more_actions
|
self.more_actions = more_actions or []
|
||||||
|
|
||||||
self._whgrid_kwargs = kwargs
|
self._whgrid_kwargs = kwargs
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue