Browse Source

thermostat: refresh zones also in holiday mode

master
Richard Genoud 5 years ago
parent
commit
3743207619
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      soft/thermostat/src/mainwindow.cpp

+ 5
- 5
soft/thermostat/src/mainwindow.cpp View File

@ -438,7 +438,7 @@ void MainWindow::apply_order_to_heaters(void)
case AUTO:
qDebug() << "apply AUTO state";
apply_automatic_state();
break;
return;
case ON:
heating_order = true;
/* fall through */
@ -446,13 +446,13 @@ void MainWindow::apply_order_to_heaters(void)
/* fall through */
default:
emit setAllHeatersOn(heating_order);
for (int i = 0; i < s->m_rooms.count(); i++) {
m_zones.at(i)->refresh();
}
break;
}
}
for (int i = 0; i < s->m_rooms.count(); i++) {
m_zones.at(i)->refresh();
}
}
void MainWindow::temperature_slot(int idx, double val)


Loading…
Cancel
Save