From: <ah...@us...> - 2011-06-10 23:43:44
|
Revision: 13057 http://jvcl.svn.sourceforge.net/jvcl/?rev=13057&view=rev Author: ahuser Date: 2011-06-10 23:43:37 +0000 (Fri, 10 Jun 2011) Log Message: ----------- Mantis #5487: JvDBCombobox and UpdateFieldImmediatelly Modified Paths: -------------- trunk/jvcl/run/JvDBCombobox.pas Modified: trunk/jvcl/run/JvDBCombobox.pas =================================================================== --- trunk/jvcl/run/JvDBCombobox.pas 2011-06-10 22:57:50 UTC (rev 13056) +++ trunk/jvcl/run/JvDBCombobox.pas 2011-06-10 23:43:37 UTC (rev 13057) @@ -495,7 +495,7 @@ Esc: begin FDataLink.Reset; - if UpdateFieldImmediatelly and (FDataLink.Field <> nil) then + if UpdateFieldImmediatelly and (FDataLink.Field <> nil) and FDataLink.Editing then FDataLink.Field.Value := FDataLink.Field.OldValue; SelectAll; end; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |