Browse Source

Fix unit selection in historical view.

Neal Wilson 11 years ago
parent
commit
9936e63838
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      config/Windows/offline.xml

+ 3
- 3
config/Windows/offline.xml View File

62
 					QSettings.setValue("script/lastDir", dir(filename));
62
 					QSettings.setValue("script/lastDir", dir(filename));
63
 				}
63
 				}
64
 			});
64
 			});
65
-			var printMenu = findChildObject(this, 'print');			
65
+			var printMenu = findChildObject(this, 'print');
66
 			printMenu.triggered.connect(function() {
66
 			printMenu.triggered.connect(function() {
67
 				var exportWindow = createWindow("print");
67
 				var exportWindow = createWindow("print");
68
 				exportWindow.windowTitle = "Typica - Print";
68
 				exportWindow.windowTitle = "Typica - Print";
91
 			});
91
 			});
92
 			var showC = findChildObject(this, 'showC');
92
 			var showC = findChildObject(this, 'showC');
93
 			showC.triggered.connect(function() {
93
 			showC.triggered.connect(function() {
94
-				log.setDisplayUnits(TemperatureDisplay.Celsius);
94
+				log.setDisplayUnits(DAQ.Celsius);
95
 				graph.showC();
95
 				graph.showC();
96
 			});
96
 			});
97
 			var showF = findChildObject(this, 'showF');
97
 			var showF = findChildObject(this, 'showF');
98
 			showF.triggered.connect(function() {
98
 			showF.triggered.connect(function() {
99
-				log.setDisplayUnits(TemperatureDisplay.Fahrenheit);
99
+				log.setDisplayUnits(DAQ.Fahrenheit);
100
 				graph.showF();
100
 				graph.showF();
101
 			});
101
 			});
102
 			var v1 = findChildObject(this, 'ms');
102
 			var v1 = findChildObject(this, 'ms');

Loading…
Cancel
Save