diff --git a/include/msksheet.cpp b/include/msksheet.cpp index 7ba4ddc52..9fbbf0dd7 100755 --- a/include/msksheet.cpp +++ b/include/msksheet.cpp @@ -1099,6 +1099,7 @@ void TSpreadsheet::activate(bool on) void TSpreadsheet::select(int r) { xi_scroll_rec(_list, r, NORMAL_COLOR, XI_ATR_ENABLED | XI_ATR_AUTOSELECT, 0); + _edit_field = NULL; set_focus_cell(0, 1); }