diff --git a/ChangeLog b/ChangeLog index 1d3646fa..6c7af752 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14640,3 +14640,6 @@ 2014-11-04 Fred Gleason * Updated 'NEWS'. * Incremented the package version to 2.10.1. +2014-11-04 Fred Gleason + * Fixed a bug in 'rdlogedit/drop_listview.cpp' that caused a + segfault when dropping a cart on the log list. diff --git a/rdlogedit/drop_listview.cpp b/rdlogedit/drop_listview.cpp index d14bb3ee..68f41dcc 100644 --- a/rdlogedit/drop_listview.cpp +++ b/rdlogedit/drop_listview.cpp @@ -49,7 +49,7 @@ void DropListView::dropEvent(QDropEvent *e) if(RDCartDrag::decode(e,&ll)) { RDListViewItem *item=(RDListViewItem *)itemAt(pos); if(item!=NULL) { - line=item->text(13).toInt(); + line=item->text(14).toInt(); } emit cartDropped(line,&ll); }