Browse Source

Suppress translation with cleared logs

Neal Wilson 5 years ago
parent
commit
7c4ec7846b
Signed by: neal <neal@typica.us> GPG Key ID: D6F25C90DD5819DF
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      config/Windows/productionroaster.xml

+ 2
- 0
config/Windows/productionroaster.xml View File

@@ -1080,6 +1080,7 @@
1080 1080
             for(var i = 0; i < rateadapters.length; i++) {
1081 1081
                 rateadapters[i].measurement.disconnect(graph.newMeasurement);
1082 1082
             }
1083
+			targetOffset = 0;
1083 1084
             if(typeof(currentBatchInfo) == 'undefined') { } else {
1084 1085
                 lc = Number(QSettings.value("liveColumn"));
1085 1086
                 var duration = log.lastTime(lc);
@@ -1199,6 +1200,7 @@
1199 1200
 			}
1200 1201
 			resetTranslation.enabled = false;
1201 1202
 			setTranslation.enabled = false;
1203
+			targetOffset = 0;
1202 1204
         };
1203 1205
         clear.triggered.connect(window.clearLog);
1204 1206
 		var openMenu = findChildObject(this, 'open');

Loading…
Cancel
Save