Skip to content
Permalink
Browse files

Revert behavior of second back button (#2779)

* Revert behavior of second back button

* Leave clearing of stack on go home
  • Loading branch information...
FreHu authored and larshp committed Jul 11, 2019
1 parent 0299fb6 commit 777445002a95fb4be921ec5366fa0ed28ccc215b
Showing with 0 additions and 5 deletions.
  1. +0 −5 src/zabapgit_forms.prog.abap
@@ -116,18 +116,13 @@ FORM output.
ENDFORM.

FORM exit RAISING zcx_abapgit_exception.
DATA li_page TYPE REF TO zif_abapgit_gui_renderable.
CASE sy-ucomm.
WHEN 'CBAC'. "Back
IF zcl_abapgit_ui_factory=>get_gui( )->back( ) = abap_true. " end of stack
zcl_abapgit_ui_factory=>get_gui( )->free( ). " Graceful shutdown
ELSE.
LEAVE TO SCREEN 1001.
ENDIF.
WHEN 'CEND'.
CREATE OBJECT li_page TYPE zcl_abapgit_gui_page_main.
zcl_abapgit_ui_factory=>get_gui( )->go_page( li_page ).
LEAVE TO SCREEN 1001.
ENDCASE.
ENDFORM.

0 comments on commit 7774450

Please sign in to comment.
You can’t perform that action at this time.