diff --git a/include/sheet.cpp b/include/sheet.cpp index 37f48c08f..f5489db6e 100755 --- a/include/sheet.cpp +++ b/include/sheet.cpp @@ -1086,11 +1086,24 @@ bool TBrowse_sheet::browse_field_handler(TMask_field& f, KEY k) bool TBrowse_sheet::last_browse_field_handler(TMask_field& f, KEY k) { const bool ok = browse_field_handler(f, k); - if (ok && k == K_TAB && _can_post) - { - _cur_browse->post_select(_cur_browse->selected()); - _can_post = FALSE; + if (ok) + { + if (k == K_TAB && _can_post) + { + _cur_browse->post_select(_cur_browse->selected()); + _can_post = FALSE; + } + else + { + if (k == K_CTRL+K_TAB) + { + RCT r; f.get_rect(r); + xvt_dwin_invalidate_rect(f.parent(), &r); + } + } } + + return ok; }