just call MainWindow::rideItem

This commit is contained in:
Sean Rhea
2009-12-12 22:02:02 -05:00
parent d37a98ac9c
commit bef469384b

View File

@@ -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;