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