mirror of
https://github.com/283375/arcaea-offline-pyside-ui.git
synced 2025-04-19 09:10:18 +00:00
fix: DbScoreTableModel
score committing
This commit is contained in:
parent
7de2eda517
commit
dd647d6963
@ -131,7 +131,7 @@ class DbScoreTableModel(DbTableModel):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
if index.column() == 2 and isinstance(value, Score) and role == self.ScoreRole:
|
if index.column() == 2 and isinstance(value, Score) and role == self.ScoreRole:
|
||||||
self._db.update_score(self.__items[index.row()][self.IdRole], value)
|
self._db.update_score(value)
|
||||||
self.syncDb()
|
self.syncDb()
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user