mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
UI Nits: Hist chart controls errant label
If we are not in date range mode (i.e. on the home or diary view) then we shouldn't add the 'date range' label.
This commit is contained in:
@@ -59,7 +59,7 @@ HistogramWindow::HistogramWindow(MainWindow *mainWindow, bool rangemode) : GcWin
|
||||
|
||||
// date selection
|
||||
dateSetting = new DateSettingsEdit(this);
|
||||
cl->addRow(new QLabel(tr("Date Range")), dateSetting);
|
||||
if (rangemode) cl->addRow(new QLabel(tr("Date Range")), dateSetting);
|
||||
|
||||
// data series
|
||||
cl->addWidget(new QLabel("")); // spacing
|
||||
|
||||
Reference in New Issue
Block a user