diff --git a/src/gui/reducers/result-display-settings.ts b/src/gui/reducers/result-display-settings.ts index 31a7d69..ddbede9 100644 --- a/src/gui/reducers/result-display-settings.ts +++ b/src/gui/reducers/result-display-settings.ts @@ -28,6 +28,11 @@ export function resultDisplaySettings(state: ResultDisplaySettings | undefined, ...state, displayAbsoluteFocalLength: action.displayAbsoluteFocalLength } + case ActionTypes.LOAD_STATE: + return { + ...state, + ...action.savedState.resultDisplaySettings + } } return state