Commit c41ce8b0 authored by Projects's avatar Projects Committed by Grzegorz Daniluk

GUI demo: invert the status colors

parent 3558e53c
......@@ -183,7 +183,7 @@ void DiotIOCard::testBtn_click(int slot, int io) {
void DiotIOCard::update_inputs() {
for(int i = 0; i < io_count; ++i) {
if(inputs[i]) {
if(!inputs[i]) {
lbl_state[i]->setStyleSheet("background-color: green; color: white");
} else {
lbl_state[i]->setStyleSheet("background-color: maroon; color: white");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment