Check model is off before changing model - Fixes #7715 (#7719)

Check model is off before changing model
This commit is contained in:
DanielGeA
2020-07-31 16:27:31 +02:00
committed by GitHub
parent 06d3110d7c
commit ac9f510005
5 changed files with 37 additions and 0 deletions
+4
View File
@@ -28,6 +28,10 @@ void onModelSelectMenu(const char * result)
int8_t sub = menuVerticalPosition;
if (result == STR_SELECT_MODEL || result == STR_CREATE_MODEL) {
if (!g_eeGeneral.disableRssiPoweroffAlarm) {
if (!confirmModelChange())
return;
}
selectModel(sub);
}
else if (result == STR_COPY_MODEL) {