From: <jfu...@us...> - 2008-03-31 23:42:56
|
Revision: 11776 http://jvcl.svn.sourceforge.net/jvcl/?rev=11776&view=rev Author: jfudickar Date: 2008-03-31 16:42:52 -0700 (Mon, 31 Mar 2008) Log Message: ----------- Reduced TJvBaseDatasetThreadHandler.ExecuteThreadSynchronize Modified Paths: -------------- trunk/jvcl/run/JvBaseDBThreadedDataset.pas Modified: trunk/jvcl/run/JvBaseDBThreadedDataset.pas =================================================================== --- trunk/jvcl/run/JvBaseDBThreadedDataset.pas 2008-03-31 21:27:06 UTC (rev 11775) +++ trunk/jvcl/run/JvBaseDBThreadedDataset.pas 2008-03-31 23:42:52 UTC (rev 11776) @@ -1033,18 +1033,7 @@ procedure TJvBaseDatasetThreadHandler.ExecuteThreadSynchronize(Method: TThreadMethod); begin - - if ExecuteThreadIsActive then - begin - ExecuteThread.DisableDialogShowDelay; - try - ExecuteThread.Synchronize(Method); - finally - ExecuteThread.EnableDialogShowDelay; - end; - end - else - Method; + ExecuteThread.Synchronize(Method); end; function TJvBaseDatasetThreadHandler.GetCurrentAction: TJvThreadedDatasetAction; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |