GlyphDBEdit: properly display glyphs merged after editing.
This commit is contained in:
parent
97216133fc
commit
a3e930b879
1 changed files with 3 additions and 0 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue