Fix Autotune Fragment on lastRun click

This commit is contained in:
Philoul 2022-09-11 17:38:32 +02:00
parent 0ee5cb0abf
commit 14b32d92ec

View file

@ -263,6 +263,7 @@ class AutotuneFragment : DaggerFragment() {
binding.tuneLastrun.setOnClickListener {
if (!autotunePlugin.calculationRunning) {
autotunePlugin.loadLastRun()
binding.tuneDays.value = autotunePlugin.lastNbDays.toDouble()
updateGui()
}
}