madmaxoft / SkauTan

Music player for Skautské Tancování
https://skautske-tancovani.cz/
The Unlicense
1 stars 2 forks source link

DlgSongs: Removing the last song raises an assert #271

Open madmaxoft opened 4 years ago

madmaxoft commented 4 years ago

When removing the last song in DlgSongs, an assert is raised, last < rowCount(parent), in SongModel::delSong(), line beginRemoveRows(QModelIndex(), idx, idx);