diff --git a/uppsrc/GridCtrl/GridCtrl.cpp b/uppsrc/GridCtrl/GridCtrl.cpp index 4aed48251..4f6e452b0 100644 --- a/uppsrc/GridCtrl/GridCtrl.cpp +++ b/uppsrc/GridCtrl/GridCtrl.cpp @@ -5101,9 +5101,9 @@ bool GridCtrl::Key(dword key, int) { case K_ENTER: ClearSelection(); + WhenEnter(); #ifdef LOG_CALLBACKS LGR(2, "WhenEnter()"); - WhenEnter(); #endif if(enter_like_tab)