From 7ea54faafcb806795821619442d1acf9a8d352ea Mon Sep 17 00:00:00 2001 From: Alejandro Martinez Date: Wed, 10 Jul 2024 19:38:45 -0300 Subject: [PATCH] Enable Calendar and Navigator charts for Trends Include them in a Diary perspective in default layout. Since these charts were not deprecated yet, lets make them accessible until we have a suitable calendar chart replacement. --- src/Gui/GcWindowRegistry.cpp | 4 ++-- src/Resources/xml/home-perspectives.xml | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/src/Gui/GcWindowRegistry.cpp b/src/Gui/GcWindowRegistry.cpp index 6df0e7ff6..de7b0713b 100644 --- a/src/Gui/GcWindowRegistry.cpp +++ b/src/Gui/GcWindowRegistry.cpp @@ -101,8 +101,8 @@ GcWindowRegistry::initialize() //{ VIEW_ANALYSIS, tr("Bing Map"),GcWindowTypes::BingMap }, { VIEW_ANALYSIS, tr("Scatter"),GcWindowTypes::Scatter }, { VIEW_ANALYSIS, tr("Aerolab"),GcWindowTypes::Aerolab }, - { VIEW_DIARY, tr("Calendar"),GcWindowTypes::Diary }, - { VIEW_DIARY, tr("Navigator"), GcWindowTypes::ActivityNavigator }, + { VIEW_TRENDS|VIEW_DIARY, tr("Calendar"),GcWindowTypes::Diary }, + { VIEW_TRENDS|VIEW_DIARY, tr("Navigator"), GcWindowTypes::ActivityNavigator }, //{ VIEW_DIARY|VIEW_TRENDS, tr("Summary "), GcWindowTypes::DateRangeSummary }, // DEPRECATED IN V3.6 { VIEW_TRAIN, tr("Telemetry"),GcWindowTypes::DialWindow }, { VIEW_TRAIN, tr("Workout"),GcWindowTypes::WorkoutPlot }, diff --git a/src/Resources/xml/home-perspectives.xml b/src/Resources/xml/home-perspectives.xml index 671499a4b..0019a32f3 100644 --- a/src/Resources/xml/home-perspectives.xml +++ b/src/Resources/xml/home-perspectives.xml @@ -595,4 +595,28 @@ + + + + + + + + + + + + + + + + + + + + + + + +