mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-02 04:36:49 +08:00
Change ESCAPE key to work like BACK (#3989)
Pressing ESC used to exit abapGit completely. Changed it to work like F3 (BACK), which makes more sense especially in HTML form. You can still exit from anywhere using SHIFT+F3. Co-authored-by: Lars Hvam <larshp@hotmail.com>
This commit is contained in:
parent
f9d064829a
commit
b7b5c2e62e
|
@ -116,7 +116,7 @@ ENDFORM.
|
||||||
|
|
||||||
FORM exit RAISING zcx_abapgit_exception.
|
FORM exit RAISING zcx_abapgit_exception.
|
||||||
CASE sy-ucomm.
|
CASE sy-ucomm.
|
||||||
WHEN 'CBAC'. "Back
|
WHEN 'CBAC' OR 'CCAN'. "Back & Escape
|
||||||
IF zcl_abapgit_ui_factory=>get_gui( )->back( ) = abap_true. " end of stack
|
IF zcl_abapgit_ui_factory=>get_gui( )->back( ) = abap_true. " end of stack
|
||||||
zcl_abapgit_ui_factory=>get_gui( )->free( ). " Graceful shutdown
|
zcl_abapgit_ui_factory=>get_gui( )->free( ). " Graceful shutdown
|
||||||
ELSE.
|
ELSE.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user