GlyphDBEdit: properly display glyphs merged after editing.

This commit is contained in:
Andrey Golovizin 2014-09-02 00:24:26 +02:00
parent 97216133fc
commit a3e930b879

View file

@ -110,7 +110,10 @@ class GlyphDBModel(QAbstractTableModel):
def setData(self, index, value, role):
column = self.COLUMNS[index.column()]
glyph_data = self.values[index.row()]
self.glyphdb.remove(glyph_data)
column.setData(glyph_data, value, role)
self.glyphdb.add(glyph_data)
self.updateData()
return True
def removeRows(self, row, count, parent=None):