Fixed missing buttons when switching too much.
[redakcja.git] / apps / toolbar / models.py
index 8d123fd..d1f4952 100644 (file)
@@ -33,7 +33,7 @@ class Button(models.Model):
     group = models.ManyToManyField(ButtonGroup)
     
     class Meta:
-        ordering = ('label',)
+        ordering = ('slug',)
         verbose_name, verbose_name_plural = _('button'), _('buttons')
 
     def hotkey_code(self):