fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed missing buttons when switching too much.
[redakcja.git]
/
apps
/
toolbar
/
models.py
diff --git
a/apps/toolbar/models.py
b/apps/toolbar/models.py
index
8d123fd
..
d1f4952
100644
(file)
--- a/
apps/toolbar/models.py
+++ b/
apps/toolbar/models.py
@@
-33,7
+33,7
@@
class Button(models.Model):
group = models.ManyToManyField(ButtonGroup)
class Meta:
group = models.ManyToManyField(ButtonGroup)
class Meta:
- ordering = ('
label
',)
+ ordering = ('
slug
',)
verbose_name, verbose_name_plural = _('button'), _('buttons')
def hotkey_code(self):
verbose_name, verbose_name_plural = _('button'), _('buttons')
def hotkey_code(self):