Explorar el Código

Fix translation offset disconnect conflict with translation delay

Neal Wilson hace 7 años
padre
commit
bfc80122a4
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5
    1
      config/Windows/productionroaster.xml

+ 5
- 1
config/Windows/productionroaster.xml Ver fichero

@@ -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…
Cancelar
Guardar