Merge branch 'deltecent-rdlogmanager-segv'

This commit is contained in:
Fred Gleason 2018-10-28 19:25:16 -04:00
commit 09b0c9b318
2 changed files with 4 additions and 1 deletions

View File

@ -17934,3 +17934,6 @@
2018-10-28 Patrick Linstruth <patrick@deltecent.com>
* Updated the Operations Guide to include illustration of the
'Play' and 'Stop' buttons on the main window of rdlibrary(1).
2018-10-28 Patrick Linstruth <patrick@deltecent.com>
* Fixed a regression in rdlogmanaer(1) that threw a segfault when
adding a Log Note to an Event.

View File

@ -342,7 +342,7 @@ void ImportListView::insertNoteMenuData()
i_item->setEventType(RDLogLine::Marker);
i_item->setMarkerComment(note);
i_item->setTransType(RDLogLine::Segue);
import_list->takeItem(1,i_item);
import_list->takeItem(import_menu_line,i_item);
validateTransitions();
refreshList(import_menu_line);
emit sizeChanged(childCount());