diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/general/autotune/AutotuneFragment.kt b/app/src/main/java/info/nightscout/androidaps/plugins/general/autotune/AutotuneFragment.kt index 259f72c903..57388f49cf 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/general/autotune/AutotuneFragment.kt +++ b/app/src/main/java/info/nightscout/androidaps/plugins/general/autotune/AutotuneFragment.kt @@ -263,6 +263,7 @@ class AutotuneFragment : DaggerFragment() { binding.tuneLastrun.setOnClickListener { if (!autotunePlugin.calculationRunning) { autotunePlugin.loadLastRun() + binding.tuneDays.value = autotunePlugin.lastNbDays.toDouble() updateGui() } }