From 82373dd0600e2fc21438f59af4b5461264dd048e Mon Sep 17 00:00:00 2001 From: olzzon Date: Thu, 27 Jun 2019 17:43:03 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20When=20an=20channelsetting=20is=20on=20a?= =?UTF-8?q?nd=20new=20protocol=20are=20selected=20that=20haven=C2=B4t=20im?= =?UTF-8?q?plementee=20channelsettings,=20the=20settings=20wouldn=C2=B4t?= =?UTF-8?q?=20go=20away=20after=20reload.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/reducers/settingsReducer.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/reducers/settingsReducer.ts b/src/reducers/settingsReducer.ts index ae9775a5..ee3e0af1 100644 --- a/src/reducers/settingsReducer.ts +++ b/src/reducers/settingsReducer.ts @@ -55,6 +55,7 @@ export const settings = (state = defaultSettingsReducerState, action: any): Arra return nextState; case 'UPDATE_SETTINGS': nextState[0] = action.settings; + nextState[0].showOptions = false; if (typeof MixerProtocolPresets[nextState[0].mixerProtocol] === 'undefined') { nextState[0].mixerProtocol = 'genericMidi';