From a3b2fbadb725e6f17cd65b18cb160cfcb1257072 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Fri, 9 Feb 2018 15:04:57 -0600 Subject: [PATCH] Make sure each grid has unique set of actions --- tailbone/grids/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tailbone/grids/core.py b/tailbone/grids/core.py index 5cb8f8d2..182c1a5c 100644 --- a/tailbone/grids/core.py +++ b/tailbone/grids/core.py @@ -109,8 +109,8 @@ class Grid(object): self.checked = checked if self.checked is None: self.checked = lambda item: False - self.main_actions = main_actions - self.more_actions = more_actions + self.main_actions = main_actions or [] + self.more_actions = more_actions or [] self._whgrid_kwargs = kwargs