Autotune fix load result during calculation running

This commit is contained in:
Philoul 2022-06-08 08:00:01 +02:00
parent 5b8dcedc4b
commit a9b424b2f3

View file

@ -257,9 +257,11 @@ class AutotuneFragment : DaggerFragment() {
}
binding.tuneLastrun.setOnClickListener {
if (!autotunePlugin.calculationRunning) {
autotunePlugin.loadLastRun()
updateGui()
}
}
binding.tuneLastrun.paintFlags = binding.tuneLastrun.paintFlags or Paint.UNDERLINE_TEXT_FLAG
}