From a8e23840e6f9a76ea97337a19c2c009e22842508 Mon Sep 17 00:00:00 2001 From: jujibo Date: Sat, 1 Oct 2011 18:15:58 +0000 Subject: [PATCH] Remove cbsNone from GridControl selection git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2056 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/jujiboutils/src/jdbgridcontrol.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/jujiboutils/src/jdbgridcontrol.pas b/components/jujiboutils/src/jdbgridcontrol.pas index e84792274..c7e062bfd 100644 --- a/components/jujiboutils/src/jdbgridcontrol.pas +++ b/components/jujiboutils/src/jdbgridcontrol.pas @@ -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: