Tweak default grid actions a little
Still trying to be smart about how/when to collapse
This commit is contained in:
parent
b89e8574e1
commit
643f411f42
|
@ -749,7 +749,7 @@ class MasterView(View):
|
||||||
|
|
||||||
def get_grid_actions(self):
|
def get_grid_actions(self):
|
||||||
main, more = self.get_main_actions(), self.get_more_actions()
|
main, more = self.get_main_actions(), self.get_more_actions()
|
||||||
if len(main) == 1 and len(more) == 1:
|
if len(more) == 1:
|
||||||
main, more = main + more, []
|
main, more = main + more, []
|
||||||
return main, more
|
return main, more
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue