Remove cbsNone from GridControl selection

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2056 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
jujibo
2011-10-01 18:15:58 +00:00
parent 1c08303458
commit a8e23840e6

View File

@ -161,7 +161,7 @@ begin
C := ColumnFromGridColumn(Column);
bs := C.ButtonStyle;
aField := GetFieldFromGridColumn(Column);
if (aField <> nil) and (bs in [cbsAuto, cbsNone]) then
if (aField <> nil) and (bs = cbsAuto) then
begin
case aField.DataType of
ftSmallint, ftInteger: