Neal Wilson 10 år sedan
förälder
incheckning
9b2f615431

+ 4
- 0
config/Windows/batchdetailsnew.xml Visa fil

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

+ 8
- 2
config/Windows/newbatch.xml Visa fil

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

+ 4
- 0
config/Windows/newsamplebatch.xml Visa fil

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

+ 4
- 0
config/Windows/productionroaster.xml Visa fil

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

Laddar…
Avbryt
Spara