fix(color): GVAR edit page not showing second title line on first load (#3311)

This commit is contained in:
philmoz
2023-03-07 11:14:06 +10:00
committed by GitHub
parent 3720633365
commit 8a7fb3fc4c
+1 -1
View File
@@ -185,7 +185,7 @@ class GVarEditWindow : public Page
protected:
uint8_t index;
gvar_t lastGVar = 0;
uint8_t lastFlightMode = 0;
uint8_t lastFlightMode = 255; // Force initial setting of header title
NumberEdit* min = nullptr;
NumberEdit* max = nullptr;
NumberEdit* values[MAX_FLIGHT_MODES] = {};