mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Fix Overview tile config
.. because the config widget is created before the tile configuration is loaded it needs to be updated before being shown to the user. Fixes #4001.
This commit is contained in:
@@ -75,6 +75,11 @@ class OverviewItemConfig : public QWidget
|
||||
// legacy data table selector (connected to legacySelector below)
|
||||
void setProgram(int n);
|
||||
|
||||
protected:
|
||||
|
||||
// before show, lets make sure the widgets are set correctly
|
||||
void showEvent(QShowEvent *) override { setWidgets(); }
|
||||
|
||||
private:
|
||||
|
||||
// the widget we are configuring
|
||||
|
||||
Reference in New Issue
Block a user