diff options
author | deva <deva> | 2010-02-26 10:45:50 +0000 |
---|---|---|
committer | deva <deva> | 2010-02-26 10:45:50 +0000 |
commit | 6391eee732d7516a30eb93cddea4cf190026da94 (patch) | |
tree | 539ce8ab7c8af6ce9153dd78e207cd45eeb0c172 /client/widgets/radiobuttons.cc | |
parent | 18069e35a2d1e8a13511c32dd965aac5002dae5f (diff) |
Make disabled widgets drawn as valid always (non-red).
Diffstat (limited to 'client/widgets/radiobuttons.cc')
-rw-r--r-- | client/widgets/radiobuttons.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/widgets/radiobuttons.cc b/client/widgets/radiobuttons.cc index 9c5f8ad..e4555ff 100644 --- a/client/widgets/radiobuttons.cc +++ b/client/widgets/radiobuttons.cc @@ -187,6 +187,6 @@ bool RadioButtons::isDisabled() void RadioButtons::changeEvent(QEvent *event) { if(event->type() == QEvent::EnabledChange) { - setBGColor(!isEnabled()); + setBGColor(isValid() || !isEnabled()); } } |