From d708afa5de2b24d63e8ee95899d6c5fe53c423c6 Mon Sep 17 00:00:00 2001 From: Alexander Nozik Date: Sun, 1 Apr 2018 21:59:58 +0300 Subject: [PATCH] Plots to kotlin. Multiple fixes to control. --- .../msp/src/main/kotlin/inr/numass/control/msp/MspDisplay.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/numass-control/msp/src/main/kotlin/inr/numass/control/msp/MspDisplay.kt b/numass-control/msp/src/main/kotlin/inr/numass/control/msp/MspDisplay.kt index a11c930d..871a542f 100644 --- a/numass-control/msp/src/main/kotlin/inr/numass/control/msp/MspDisplay.kt +++ b/numass-control/msp/src/main/kotlin/inr/numass/control/msp/MspDisplay.kt @@ -88,7 +88,7 @@ class MspDisplay() : DeviceDisplay(), DeviceListener, NamedValueListe configure(plotFrameMeta) } } - val plottables = PlotGroup().apply { + val plottables = PlotGroup("peakJump").apply { if (plotFrameMeta.hasMeta("peakJump.peak")) { for (peakMeta in plotFrameMeta.getMetaList("peakJump.peak")) { val mass = peakMeta.getString("mass")