Skip to content

Commit

Permalink
library/basesqltablemodel: Emit dataChanged signal in setData()
Browse files Browse the repository at this point in the history
> The dataChanged() signal should be emitted if the data was successfully set.

Source: https://doc.qt.io/qt-5/qabstractitemmodel.html#setData
  • Loading branch information
Holzhaus committed Mar 10, 2020
1 parent 5e966ee commit efee00c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/library/basesqltablemodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -892,6 +892,8 @@ bool BaseSqlTableModel::setData(
// system will automatically save the track once it is unloaded from
// memory. rryan 10/2010

emit dataChanged(index, index);

return true;
}

Expand Down

0 comments on commit efee00c

Please sign in to comment.