mirror of
https://github.com/FellippeHeitor/InForm.git
synced 2025-01-15 03:49:56 +00:00
Resets "future" if REDO is called after UNDO is used and form is edited.
This commit is contained in:
parent
7b8eee0fbe
commit
84f654f94b
1 changed files with 5 additions and 1 deletions
|
@ -2659,7 +2659,11 @@ SUB SavePreview (Destination AS _BYTE)
|
|||
END IF
|
||||
UndoImage(UndoPointer) = Clip$
|
||||
UndoPointer = UndoPointer + 1
|
||||
IF UndoPointer > TotalUndoImages THEN TotalUndoImages = TotalUndoImages + 1
|
||||
IF UndoPointer > TotalUndoImages THEN
|
||||
TotalUndoImages = TotalUndoImages + 1
|
||||
ELSEIF UndoPointer < TotalUndoImages THEN
|
||||
TotalUndoImages = UndoPointer
|
||||
END IF
|
||||
IF TotalUndoImages > UBOUND(UndoImage) THEN
|
||||
REDIM _PRESERVE UndoImage(UBOUND(UndoImage) + 99) AS STRING
|
||||
END IF
|
||||
|
|
Loading…
Reference in a new issue