Grids: perform extra check before removing AutoAdded row, and always clear the FRowAutoAdded flag in this scenario.
Quick fix for issue #0023735.
The root cause of the problem here is that TCustomGrid.EditorKeyDown isn't called on the first char the user types if
goAlwaysSwowEditor is not in Options.


git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@39954 4005530d-fff6-0310-9dd1-cebe43e6787f