From ceb8ef7226ab88e9f23ea597e1a76c2b94b8aa66 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Sun, 29 Nov 2020 19:45:55 -0500 Subject: [PATCH] 2020-11-29 Fred Gleason * Fixed a bug in rdadmin(1) that caused to incorrect user type icon to be displayed in the 'Rivendell User List' dialog after modifying a user. Signed-off-by: Fred Gleason --- ChangeLog | 4 ++++ rdadmin/list_users.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 89fae32a..1e85dd29 100644 --- a/ChangeLog +++ b/ChangeLog @@ -20651,3 +20651,7 @@ 2020-11-29 Fred Gleason * Fixed a bug in rdadmin(1) that caused new passwords to be truncated to 16 characters. +2020-11-29 Fred Gleason + * Fixed a bug in rdadmin(1) that caused to incorrect user type + icon to be displayed in the 'Rivendell User List' dialog after + modifying a user. diff --git a/rdadmin/list_users.cpp b/rdadmin/list_users.cpp index 31beb78e..bf6884d7 100644 --- a/rdadmin/list_users.cpp +++ b/rdadmin/list_users.cpp @@ -353,7 +353,7 @@ void ListUsers::RefreshItem(RDListViewItem *item) item->setPixmap(0,*list_rss_map); } else { - if(q->value(4).toString()=="Y") { + if(q->value(6).toString()=="Y") { item->setPixmap(0,*list_localuser_map); } else {