Browse Source

thermostat: refresh target temperature dialog

master
Richard Genoud 4 years ago
parent
commit
004450c207
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      soft/thermostat/src/mainwindow.cpp

+ 2
- 0
soft/thermostat/src/mainwindow.cpp View File

@ -212,6 +212,8 @@ void MainWindow::apply_automatic_state(void)
for (i = 0; i < s->m_rooms.count(); i++) {
const struct Room *r = &(s->m_rooms.at(i));
m_zones.at(i)->m_heating_on = get_heater_order(i);
m_zones.at(i)->m_target_temperature = get_target_temperature(i);
m_zones.at(i)->refresh();
qDebug() << "room " << r->name;
for (int j = 0; j < r->heaters.count(); j++) {
const struct Heater *h = &(r->heaters.at(j));


Loading…
Cancel
Save