diff options
Diffstat (limited to 'UMain.pas')
| -rw-r--r-- | UMain.pas | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1741,11 +1741,14 @@ var ListView: TGTKListView; OpenDirThread.AHighlightItem := HiliString2; end; DebugMsg(['(II) TFMain.ChangingDir: begin thread']); - OpenDirThread.Resume; tt := Now; b := False; FRemoteWait := TFRemoteWait.Create(Application); FRemoteWait.ParentForm := FMain; + + // WARNING: For an unknown reason, there's a race condition in Kylix (FPC is fine). + // The thread must be started *after* the FRemoteWait is created. + OpenDirThread.Resume; repeat Sleep(ConstInternalProgressTimer); // DebugMsg([' (II) TFMain.ChangingDir: sleep.']); |
