mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
just call MainWindow::rideItem
This commit is contained in:
@@ -324,7 +324,7 @@ AllPlotWindow::setEndSelection(double xValue, bool newInterval, QString name)
|
||||
|
||||
RideFile tmpRide = RideFile();
|
||||
|
||||
QTreeWidgetItem *which = mainwindow->allRideItems()->treeWidget()->selectedItems().first();
|
||||
QTreeWidgetItem *which = mainwindow->rideItem();
|
||||
RideItem *ride = (RideItem*)which;
|
||||
|
||||
double distance1 = -1;
|
||||
|
||||
Reference in New Issue
Block a user