mirror of
https://github.com/283375/arcaea-offline-pyside-ui.git
synced 2025-07-01 04:16:26 +00:00
fix: DbScoreTableModel
score committing
This commit is contained in:
@ -131,7 +131,7 @@ class DbScoreTableModel(DbTableModel):
|
||||
return False
|
||||
|
||||
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()
|
||||
return True
|
||||
|
||||
|
Reference in New Issue
Block a user