mirror of
https://github.com/FAUSheppy/ths-datenlogger
synced 2025-12-07 12:31:34 +01:00
only parse outside data when needed
This commit is contained in:
@@ -152,8 +152,9 @@ class WidgetGallery(QDialog):
|
|||||||
forcePath = True
|
forcePath = True
|
||||||
|
|
||||||
# workaround for checkboxes changed #
|
# workaround for checkboxes changed #
|
||||||
|
outsideDataNeeded = self.boxOTemp.isChecked() or self.boxOHumidity.isChecked()
|
||||||
self.datapoints = input_backend.read_in_file(self.srcFileString,
|
self.datapoints = input_backend.read_in_file(self.srcFileString,
|
||||||
outsideData=True,
|
outsideData=outsideDataNeeded,
|
||||||
plotOutsideTemp=self.boxOTemp.isChecked(),
|
plotOutsideTemp=self.boxOTemp.isChecked(),
|
||||||
plotOutsideHum=self.boxOHumidity.isChecked())
|
plotOutsideHum=self.boxOHumidity.isChecked())
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user