From d1db7e77197a0fd683e07a8949a9e2134819fdb2 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Tue, 21 Sep 2021 13:13:24 -0400 Subject: [PATCH] 2021-09-21 Fred Gleason * Fixed a regression in rdairplay(1) that made it impossible to change the order of columns in the Full Log widget. Signed-off-by: Fred Gleason --- ChangeLog | 3 +++ rdairplay/list_log.cpp | 2 ++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index a3a922bf..8b7b0569 100644 --- a/ChangeLog +++ b/ChangeLog @@ -22455,3 +22455,6 @@ length of macro carts after editing. 2021-09-21 Fred Gleason * Refactored 'RDMacroEvent' to avoid use of the STL. +2021-09-21 Fred Gleason + * Fixed a regression in rdairplay(1) that made it impossible to + change the order of columns in the Full Log widget. diff --git a/rdairplay/list_log.cpp b/rdairplay/list_log.cpp index a61172f1..ac574d0c 100644 --- a/rdairplay/list_log.cpp +++ b/rdairplay/list_log.cpp @@ -18,6 +18,7 @@ // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. // +#include #include #include @@ -135,6 +136,7 @@ ListLog::ListLog(RDLogPlay *log,int id,bool allow_pause, list_log->setFont(defaultFont()); list_log->setPalette(palette()); list_log_view->setModel(list_log); + list_log_view->horizontalHeader()->setSectionsMovable(true); list_log_view->resizeColumnsToContents(); connect(list_log_view->selectionModel(), SIGNAL(selectionChanged(const QItemSelection &,const QItemSelection &)),