From 32a81035876155cd30cdeb7dba2f2e48a7676c75 Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Tue, 11 May 2021 11:35:19 +0200 Subject: [PATCH] Fix: save to favorites now only works on voice selection screen. --- UI.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UI.hpp b/UI.hpp index 1c03ec3..3492819 100644 --- a/UI.hpp +++ b/UI.hpp @@ -765,7 +765,8 @@ void lcdml_menu_control(void) Serial.println(F("ENC-L long recognized")); #endif - save_favorite(configuration.performance.bank[selected_instance_id], configuration.performance.voice[selected_instance_id], selected_instance_id); + if (LCDML.FUNC_getID() == LCDML.OTHER_getIDFromFunction(UI_func_voice_select)) + save_favorite(configuration.performance.bank[selected_instance_id], configuration.performance.voice[selected_instance_id], selected_instance_id); //for (uint8_t i = 0; i < NUM_DEXED; i++) // MicroDexed[i]->panic();