Autotune fix load result during calculation running
This commit is contained in:
parent
5b8dcedc4b
commit
a9b424b2f3
|
@ -257,8 +257,10 @@ class AutotuneFragment : DaggerFragment() {
|
|||
}
|
||||
|
||||
binding.tuneLastrun.setOnClickListener {
|
||||
autotunePlugin.loadLastRun()
|
||||
updateGui()
|
||||
if (!autotunePlugin.calculationRunning) {
|
||||
autotunePlugin.loadLastRun()
|
||||
updateGui()
|
||||
}
|
||||
}
|
||||
binding.tuneLastrun.paintFlags = binding.tuneLastrun.paintFlags or Paint.UNDERLINE_TEXT_FLAG
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue