From ddff28f289e013fa817903a1829452732aee0233 Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauld.mccarthy@gmail.com> Date: Tue, 10 Feb 2015 10:29:56 +0000 Subject: [PATCH] Bugfix in startChangeGroup - was not discarding undone changes. --- fsl/fslview/editor/editor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fsl/fslview/editor/editor.py b/fsl/fslview/editor/editor.py index 01ab7ecf9..04d94daf8 100644 --- a/fsl/fslview/editor/editor.py +++ b/fsl/fslview/editor/editor.py @@ -135,6 +135,8 @@ class Editor(props.HasProperties): def startChangeGroup(self): + del self._doneList[self._doneIndex + 1:] + self._inGroup = True self._doneIndex += 1 self._doneList.append([]) -- GitLab