From cb74a4bca5ea65dd38ec43e33c7c4b2d079fc00b Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Fri, 7 Jun 2019 17:46:34 -0400 Subject: [PATCH] 2019-06-07 Fred Gleason * Fixed a bug in rdairplay(1) that caused changes in the ordering of log events to fail to be properly reflected in the Full Log list. --- ChangeLog | 4 ++++ rdairplay/list_log.cpp | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e3d6f33e..f650a81a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18745,3 +18745,7 @@ 2019-06-05 Fred Gleason * Fixed a bug that caused exported PCM24 WAV files to indicate an incorrect 'dwLevelReference' value in the cart chunk. +2019-06-07 Fred Gleason + * Fixed a bug in rdairplay(1) that caused changes in the ordering + of log events to fail to be properly reflected in the Full Log + list. diff --git a/rdairplay/list_log.cpp b/rdairplay/list_log.cpp index 8dcd0089..8dc772ac 100644 --- a/rdairplay/list_log.cpp +++ b/rdairplay/list_log.cpp @@ -2,7 +2,7 @@ // // The full log list for RDAirPlay // -// (C) Copyright 2002-2018 Fred Gleason +// (C) Copyright 2002-2019 Fred Gleason // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as @@ -948,6 +948,7 @@ void ListLog::logInsertedData(int line) list_log_list->ensureItemVisible(item); } } + list_log_list->sort(); } @@ -967,6 +968,7 @@ void ListLog::logRemovedData(int line,int num,bool moving) if(!moving) { UpdateTimes(line,num); } + list_log_list->sort(); }