2023-08-04 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in rdlibrary(1) that caused cart deletion to
	fail with the message "Voicetrack Found".

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2023-08-04 14:38:48 -04:00
parent 318a5f18e2
commit 5b7409c7ea
2 changed files with 5 additions and 2 deletions

View File

@@ -424,9 +424,9 @@ RDCart::Type RDLibraryModel::cartType(const QModelIndex &index) const
QString RDLibraryModel::cartOwnedBy(const QModelIndex &index)
{
if(isCart(index)) {
return d_texts.at(index.row()).at(20).toString();
return d_texts.at(index.row()).at(23).toString();
}
return d_texts.at(index.internalId()-1).at(20).toString();
return d_texts.at(index.internalId()-1).at(23).toString();
}