浏览代码

Fix translation offset disconnect conflict with translation delay

Neal Wilson 7 年前
父节点
当前提交
bfc80122a4
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5
    1
      config/Windows/productionroaster.xml

+ 5
- 1
config/Windows/productionroaster.xml 查看文件

@@ -1066,7 +1066,11 @@
1066 1066
             }
1067 1067
             if(translationChannel >= 0)
1068 1068
             {
1069
-                offsets[offsetForChannel(translationChannel)].measurement.disconnect(currentDetector.newMeasurement);
1069
+				if(translationdelay.active) {
1070
+					translationdelay.stop();
1071
+				} else {
1072
+					offsets[offsetForChannel(translationChannel)].measurement.disconnect(currentDetector.newMeasurement);
1073
+				}
1070 1074
             }
1071 1075
             start.enabled = true;
1072 1076
             window.windowModified = false;

正在加载...
取消
保存