Make sure each grid has unique set of actions

This commit is contained in:
Lance Edgar 2018-02-09 15:04:57 -06:00
parent 4760295d6a
commit a3b2fbadb7

View file

@ -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