File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -386,7 +386,7 @@ Node convert<GeneralSettings>::encode(const GeneralSettings& rhs)
386386 node[" modelCustomScriptsDisabled" ] = (int )rhs.modelCustomScriptsDisabled ;
387387 node[" modelTelemetryDisabled" ] = (int )rhs.modelTelemetryDisabled ;
388388
389- if (hasColorLcd && VERSION_MAJOR > 2 ) {
389+ if (hasColorLcd) {
390390 for (int i = 0 ; i < MAX_KEYSHORTCUTS; i += 1 )
391391 if (rhs.keyShortcuts [i] != GeneralSettings::QM_NONE)
392392 node[" keyShortcuts" ][std::to_string (i)][" shortcut" ] = QMPageLut << rhs.keyShortcuts [i];
Original file line number Diff line number Diff line change @@ -1092,9 +1092,9 @@ void GeneralSettings::setDefaultFavorites()
10921092void GeneralSettings::setDefaultKeyShortcuts ()
10931093{
10941094 keyShortcuts[0 ] = QM_MODEL_SETUP; // MDL short
1095- keyShortcuts[1 ] = (VERSION_MAJOR == 2 ) ? QM_TOOLS_APPS : QM_OPEN_QUICK_MENU; // SYS short
1095+ keyShortcuts[1 ] = QM_OPEN_QUICK_MENU; // SYS short
10961096 keyShortcuts[2 ] = QM_UI_SCREEN1; // TELE short
10971097 keyShortcuts[3 ] = QM_MANAGE_MODELS; // MDL long
1098- keyShortcuts[4 ] = (VERSION_MAJOR == 2 ) ? QM_RADIO_SETUP : QM_TOOLS_APPS; // SYS long
1098+ keyShortcuts[4 ] = QM_TOOLS_APPS; // SYS long
10991099 keyShortcuts[5 ] = QM_TOOLS_CHAN_MON; // TELE long
11001100}
You can’t perform that action at this time.
0 commit comments