Skip to content

Commit d22dd37

Browse files
fix previewOperation_toUndoFirst
1 parent b3604f5 commit d22dd37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Potato/Flow/Preview.hs

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ previewOperation_fromUndoFirst undoFirst = case undoFirst of
5555
previewOperation_toUndoFirst :: PreviewOperation -> Bool
5656
previewOperation_toUndoFirst po = case po of
5757
PO_Start -> False
58+
PO_CommitAndStart -> False
5859
PO_Continue -> True
5960
PO_StartAndCommit -> False
6061
PO_ContinueAndCommit -> True

0 commit comments

Comments
 (0)