mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Python XDataSeries - Don't use RideFileCommand when readOnly
It is unnecessary and too slow Fixes #3445
This commit is contained in:
@@ -879,7 +879,7 @@ PythonXDataSeries::PythonXDataSeries()
|
||||
|
||||
bool PythonXDataSeries::set(int i, double value)
|
||||
{
|
||||
if (rideFile) {
|
||||
if (!readOnly && rideFile) {
|
||||
if (!setColIdx()){
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user