mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 00:28:42 +00:00
R Optimise refresh
.. don't when not visible as it slows everyone down !
This commit is contained in:
@@ -380,6 +380,9 @@ RChart::setState(QString)
|
||||
void
|
||||
RChart::runScript()
|
||||
{
|
||||
// don't run until we can be seen!
|
||||
if (!isVisible()) return;
|
||||
|
||||
if (script->toPlainText() != "") {
|
||||
|
||||
// run it !!
|
||||
|
||||
Reference in New Issue
Block a user