mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
BlankState: No data available for AllPlotWindow
Use the default blank state in AllPlotWindow when data not present
This commit is contained in:
@@ -593,8 +593,11 @@ AllPlotWindow::rideSelected()
|
||||
// ignore if null, or manual / empty
|
||||
if (!ride || !ride->ride() || !ride->ride()->dataPoints().count()) {
|
||||
current = NULL;
|
||||
setIsBlank(true);
|
||||
return;
|
||||
}
|
||||
else
|
||||
setIsBlank(false);
|
||||
|
||||
// we already plotted it!
|
||||
if (ride == current && stale == false) return;
|
||||
|
||||
Reference in New Issue
Block a user