From b63e8acda0a8db0cea3e866ebee4f989279f734f Mon Sep 17 00:00:00 2001 From: FellippeHeitor Date: Mon, 11 Jun 2018 10:39:27 -0300 Subject: [PATCH] Allows sending Ctrl+z/Ctrl+y while the editor has focus. --- InForm/UiEditor.bas | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/InForm/UiEditor.bas b/InForm/UiEditor.bas index fd42e04..c0198ea 100644 --- a/InForm/UiEditor.bas +++ b/InForm/UiEditor.bas @@ -1121,11 +1121,9 @@ SUB __UI_BeforeUpdateDisplay IF UndoPointer < TotalUndoImages THEN Control(EditMenuRedo).Disabled = False IF (__UI_KeyHit = ASC("z") OR __UI_KeyHit = ASC("Z")) AND __UI_CtrlIsDown THEN - b$ = MKI$(0) - SendData b$, 214 + SendSignal 214 ELSEIF (__UI_KeyHit = ASC("y") OR __UI_KeyHit = ASC("Y")) AND __UI_CtrlIsDown THEN - b$ = MKI$(0) - SendData b$, 215 + SendSignal 215 END IF 'Make ZOrdering menu enabled/disabled according to control list