From b6e37abce0cd489cc1f3dc72c90457fcab4ad69a Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Tue, 3 Dec 2019 19:13:49 -0500 Subject: [PATCH] 2019-12-03 Fred Gleason * Fixed a bug in rdgpimon(1) that caused GPIO cart displays to fail to accurately reflect current state. --- ChangeLog | 3 +++ utils/rdgpimon/gpi_label.cpp | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e8d475c2..99e7826a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -19287,3 +19287,6 @@ 2019-12-03 Fred Gleason * Fixed a bug in rdcatch(1) that caused DOW flags to fail to be updated correctly on the event list after making a change. +2019-12-03 Fred Gleason + * Fixed a bug in rdgpimon(1) that caused GPIO cart displays to + fail to accurately reflect current state. diff --git a/utils/rdgpimon/gpi_label.cpp b/utils/rdgpimon/gpi_label.cpp index 34ccbcb8..8852ea81 100644 --- a/utils/rdgpimon/gpi_label.cpp +++ b/utils/rdgpimon/gpi_label.cpp @@ -41,7 +41,6 @@ GpiLabel::GpiLabel(QWidget *parent) QPalette p=palette(); p.setColor(QPalette::Active,QColorGroup::Foreground,Qt::darkGreen); p.setColor(QPalette::Inactive,QColorGroup::Foreground,Qt::darkGreen); - p.setColor(QPalette::Disabled,QColorGroup::Foreground,Qt::darkGreen); gpi_oncart_label=new QLabel(this); gpi_oncart_label->setGeometry(0,33,59,16); gpi_oncart_label->setFont(labelFont()); @@ -53,7 +52,6 @@ GpiLabel::GpiLabel(QWidget *parent) // p.setColor(QPalette::Active,QColorGroup::Foreground,Qt::darkRed); p.setColor(QPalette::Inactive,QColorGroup::Foreground,Qt::darkRed); - p.setColor(QPalette::Disabled,QColorGroup::Foreground,Qt::darkRed); gpi_offcart_label=new QLabel(this); gpi_offcart_label->setGeometry(0,49,59,16); gpi_offcart_label->setFont(labelFont());