Fix Autotune Fragment on lastRun click
This commit is contained in:
parent
0ee5cb0abf
commit
14b32d92ec
1 changed files with 1 additions and 0 deletions
|
@ -263,6 +263,7 @@ class AutotuneFragment : DaggerFragment() {
|
||||||
binding.tuneLastrun.setOnClickListener {
|
binding.tuneLastrun.setOnClickListener {
|
||||||
if (!autotunePlugin.calculationRunning) {
|
if (!autotunePlugin.calculationRunning) {
|
||||||
autotunePlugin.loadLastRun()
|
autotunePlugin.loadLastRun()
|
||||||
|
binding.tuneDays.value = autotunePlugin.lastNbDays.toDouble()
|
||||||
updateGui()
|
updateGui()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue