From bcc0b86001914ebd273183c96989389d9235c6c5 Mon Sep 17 00:00:00 2001 From: Andrey Golovizin Date: Mon, 1 Sep 2014 18:11:41 +0200 Subject: [PATCH] GlyphDBEdit: show newest glyphs on top. --- pixelocr/gui/glyphdbedit.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pixelocr/gui/glyphdbedit.py b/pixelocr/gui/glyphdbedit.py index 0631adf..b3ee04b 100644 --- a/pixelocr/gui/glyphdbedit.py +++ b/pixelocr/gui/glyphdbedit.py @@ -37,6 +37,7 @@ class GlyphDBModel(QAbstractTableModel): super().__init__(parent) self.glyphdb = glyphdb self.values = list(glyphdb.values()) + self.values.reverse() def rowCount(self, parent): return len(self.values)