Browse Source

Fix translation offset disconnect conflict with translation delay

Neal Wilson 6 years ago
parent
commit
bfc80122a4
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      config/Windows/productionroaster.xml

+ 5
- 1
config/Windows/productionroaster.xml View File

@@ -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;

Loading…
Cancel
Save