mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Sidebar summary honor color changes
.. was not being redrawn when the color preferences changed.
This commit is contained in:
@@ -125,8 +125,11 @@ DiarySidebar::configChanged()
|
||||
.arg(fgColor.name()).arg(bgColor.name())); // clear any shit left behind from parents (Larkin ?)
|
||||
|
||||
// now apply
|
||||
refresh();
|
||||
multiCalendar->refresh();
|
||||
|
||||
// and summary .. forgetting what we already prepared
|
||||
from = to = QDate();
|
||||
setSummary();
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
@@ -238,9 +238,6 @@ LTMSidebar::LTMSidebar(Context *context) : QWidget(context->mainWindow), context
|
||||
connect(context, SIGNAL(presetsChanged()), this, SLOT(presetsChanged()));
|
||||
connect(chartTree,SIGNAL(itemSelectionChanged()), this, SLOT(presetTreeWidgetSelectionChanged()));
|
||||
|
||||
// let everyone know what date range we are starting with
|
||||
dateRangeTreeWidgetSelectionChanged();
|
||||
|
||||
// setup colors
|
||||
configChanged();
|
||||
}
|
||||
@@ -287,6 +284,12 @@ LTMSidebar::configChanged()
|
||||
// set or reset the autofilter widgets
|
||||
autoFilterChanged();
|
||||
|
||||
// forget what we just used...
|
||||
from = to = QDate();
|
||||
|
||||
// let everyone know what date range we are starting with
|
||||
dateRangeTreeWidgetSelectionChanged();
|
||||
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user