Mercurial > public > ostc4
diff Discovery/Src/motion.c @ 595:fd0b60dee6f3
Bugfix Selection of primary view:
At the begin of the dive and while switching between T7 <=> T3 view a primary view could be shown which was deactivated by the selection dialog. In case the primary view is now deactivated, the next activated view will be shown instead
author | Ideenmodellierer |
---|---|
date | Mon, 04 Jan 2021 21:32:39 +0100 |
parents | f52bc70e380f |
children | 916998f90e39 |
line wrap: on
line diff
--- a/Discovery/Src/motion.c Mon Jan 04 21:30:04 2021 +0100 +++ b/Discovery/Src/motion.c Mon Jan 04 21:32:39 2021 +0100 @@ -240,11 +240,14 @@ } if(settingsGetPointer()->design == 3) /* Big font view ? */ { - sectorMap[centerView] = settingsGetPointer()->tX_customViewPrimaryBF; + t3_set_customview_to_primary(); + sectorMap[centerView] = t3_change_customview(ACTION_END); } else { - sectorMap[centerView] = settingsGetPointer()->tX_customViewPrimary; + t7_set_customview_to_primary(); + sectorMap[centerView] = t7_change_customview(ACTION_END); + } centerView++;