瀏覽代碼

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

Neal Wilson 11 年之前
父節點
當前提交
d48545a8d8
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. 2
    0
      config/Windows/productionroaster.xml

+ 2
- 0
config/Windows/productionroaster.xml 查看文件

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

Loading…
取消
儲存