Skip to content

Commit

Permalink
Fix #127
Browse files Browse the repository at this point in the history
  • Loading branch information
N3Roaster committed Jan 4, 2015
1 parent 5f84573 commit d235bf9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/Windows/productionroaster.xml
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,7 @@
}
log.setDisplayUnits(Units.Celsius);
graph.showC();
QSettings.setValue("temperatureUnit", "C");
});
var showF = findChildObject(this, 'showF');
showF.triggered.connect(function() {
Expand All @@ -857,7 +858,12 @@
}
log.setDisplayUnits(Units.Fahrenheit);
graph.showF();
QSettings.setValue("temperatureUnit", "F");
});
if(QSettings.value("temperatureUnit", "F") == "C")
{
showC.trigger();
}
var clear = findChildObject(this, 'clear');
clear.triggered.connect(log.clear);
clear.triggered.connect(graph.clear);
Expand Down

0 comments on commit d235bf9

Please sign in to comment.