Neal Wilson 10 years ago
parent
commit
9b2f615431

+ 4
- 0
config/Windows/batchdetailsnew.xml View File

@@ -139,7 +139,11 @@
139 139
 					viewer.windowTitle = "Typica - " + pname;
140 140
 					viewer.raise();
141 141
 					viewer.activateWindow();
142
+					graph.updatesEnabled = false;
143
+					log.updatesEnabled = false;
142 144
 					input.input();
145
+					log.updatesEnabled = true;
146
+					graph.updatesEnabled = true;
143 147
 					log.newAnnotation("End", 1, lc);
144 148
 				}
145 149
 				else {

+ 8
- 2
config/Windows/newbatch.xml View File

@@ -244,6 +244,8 @@
244 244
                 query.bind(":item", Number(roasted.currentData()));
245 245
                 query.bind(":again", Number(roasted.currentData()));
246 246
 				query.exec();
247
+				var graph;
248
+				var log;
247 249
 				if(query.next())
248 250
 				{
249 251
 					var files = query.value(0);
@@ -259,8 +261,8 @@
259 261
 						var buffer = new QBuffer(query.value(0));
260 262
 						var pname = query.value(1);
261 263
 						var input = new XMLInput(buffer, 1);
262
-						var graph = findChildObject(navigationwindow.loggingWindow, 'graph');
263
-						var log = findChildObject(navigationwindow.loggingWindow, 'log');
264
+						graph = findChildObject(navigationwindow.loggingWindow, 'graph');
265
+						log = findChildObject(navigationwindow.loggingWindow, 'log');
264 266
 						log.clear();
265 267
 						graph.clear();
266 268
 						input.newTemperatureColumn.connect(log.setHeaderData);
@@ -296,7 +298,11 @@
296 298
 				navigationwindow.loggingWindow.windowTitle = "Typica - [*]" + pname;
297 299
 				navigationwindow.loggingWindow.raise();
298 300
 				navigationwindow.loggingWindow.activateWindow();
301
+				graph.updatesEnabled = false;
302
+				log.updatesEnabled = false;
299 303
 				input.input();
304
+				log.updatesEnabled = true;
305
+				graph.updatesEnabled = true;
300 306
 				log.newAnnotation("End", 1, lc);
301 307
 			});
302 308
 			var noprofilebutton = findChildObject(this, 'noprofile');

+ 4
- 0
config/Windows/newsamplebatch.xml View File

@@ -227,7 +227,11 @@
227 227
 						});
228 228
 						navigationwindow.loggingWindow.raise();
229 229
 						navigationwindow.loggingWindow.activateWindow();
230
+						log.updatesEnabled = false;
231
+						graph.updatesEnabled = false;
230 232
 						input.input();
233
+						graph.updatesEnabled = true;
234
+						log.updatesEnabled = true;
231 235
 						log.newAnnotation("End", 1, lc);
232 236
 					}
233 237
 				}

+ 4
- 0
config/Windows/productionroaster.xml View File

@@ -889,7 +889,11 @@
889 889
                     QSettings.setValue("liveColumn", c + 1);
890 890
 					window.postLoadColumnSetup(c);
891 891
 				});
892
+				graph.updatesEnabled = false;
893
+				log.updatesEnabled = false;
892 894
                 input.input();
895
+				log.updatesEnabled = true;
896
+				graph.updatesEnabled = true;
893 897
                 window.windowTitle = 'Typica - [*]' + baseName(filename);
894 898
                 QSettings.setValue("script/lastDir", dir(filename));
895 899
 				log.newAnnotation("End", 1, lc);

Loading…
Cancel
Save