Browse Source

Suppress translation with cleared logs

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

Loading…
Cancel
Save