From 20a0c8ca5d46996d147aff5cab217b389f1062ef Mon Sep 17 00:00:00 2001 From: sbcgua Date: Wed, 15 Feb 2017 13:47:40 +0200 Subject: [PATCH] Force stage diplayed always #623 --- src/zabapgit_view_repo.prog.abap | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/zabapgit_view_repo.prog.abap b/src/zabapgit_view_repo.prog.abap index 497ffd0b0..9d91df8cc 100644 --- a/src/zabapgit_view_repo.prog.abap +++ b/src/zabapgit_view_repo.prog.abap @@ -295,10 +295,8 @@ CLASS lcl_gui_view_repo_content IMPLEMENTATION. iv_act = |{ gc_action-repo_remote_change }?{ lv_key }| ). lo_tb_advanced->add( iv_txt = 'Make off-line' iv_act = |{ gc_action-repo_remote_detach }?{ lv_key }| ). - IF iv_rstate IS INITIAL AND iv_lstate IS INITIAL. - lo_tb_advanced->add( iv_txt = 'Force stage' - iv_act = |{ gc_action-go_stage }?{ lv_key }| ). - ENDIF. + lo_tb_advanced->add( iv_txt = 'Force stage' + iv_act = |{ gc_action-go_stage }?{ lv_key }| ). ELSE. lo_tb_advanced->add( iv_txt = 'Make on-line' iv_act = |{ gc_action-repo_remote_attach }?{ lv_key }| ).