Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5d245151 authored by nicolasroard's avatar nicolasroard
Browse files

Fix crash in geometry

Change-Id: I4c9292b539643f2e2738d788dcb58f0a129254f9
parent be84355f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -202,7 +202,7 @@ public class Editor implements OnSeekBarChangeListener, SwapButton.SwapButtonLis
            ImagePreset preset = MasterImage.getImage().getPreset();
            FilterRepresentation filterRepresentation = MasterImage.getImage().getCurrentFilterRepresentation();
            mLocalRepresentation = preset.getFilterRepresentationCopyFrom(filterRepresentation);
            if (mShowParameter == SHOW_VALUE_UNDEFINED) {
            if (mShowParameter == SHOW_VALUE_UNDEFINED && filterRepresentation != null) {
                boolean show = filterRepresentation.showParameterValue();
                mShowParameter = show ? SHOW_VALUE_INT : SHOW_VALUE_OFF;
            }