If a reference proposal/candidate is pinned, the last selected proposal/candidate should be reset. Otherwise the user could accidentally select a huge amount of patches (e.g. if the last selected one was sorted way down and the user Shift+clicks at the top).
If a reference proposal/candidate is pinned, the last selected proposal/candidate should be reset. Otherwise the user could accidentally select a huge amount of patches (e.g. if the last selected one was sorted way down and the user Shift+clicks at the top).