Autotune fix load result during calculation running
This commit is contained in:
parent
9be6424c25
commit
cee29b4116
1 changed files with 4 additions and 2 deletions
|
@ -281,8 +281,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