Просмотр исходного кода

Prompt for confirmation when closing logging window while roasting a batch.

Neal Wilson 13 лет назад
Родитель
Сommit
d48545a8d8
1 измененных файлов: 2 добавлений и 0 удалений
  1. 2
    0
      config/Windows/productionroaster.xml

+ 2
- 0
config/Windows/productionroaster.xml Просмотреть файл

495
 				externtrans.display(0);
495
 				externtrans.display(0);
496
 			}
496
 			}
497
 			stop.enabled = true;
497
 			stop.enabled = true;
498
+			window.windowModified = true;
498
         });
499
         });
499
 		for(var i = 0; i < annotationButtons.length; i++) {
500
 		for(var i = 0; i < annotationButtons.length; i++) {
500
 			if(channels.length > 0)
501
 			if(channels.length > 0)
544
 				offsets[translationChannel].measurement.disconnect(currentDetector.newMeasurement);
545
 				offsets[translationChannel].measurement.disconnect(currentDetector.newMeasurement);
545
 			}
546
 			}
546
 			start.enabled = true;
547
 			start.enabled = true;
548
+			window.windowModified = false;
547
         });
549
         });
548
 		stop.annotation.connect(function(note, tcol, ncol) {
550
 		stop.annotation.connect(function(note, tcol, ncol) {
549
 			for(var i = tcol; i < ncol; i++) {
551
 			for(var i = tcol; i < ncol; i++) {

Загрузка…
Отмена
Сохранить