You've already forked lazarus-ccr
tvplanit: No wait-cursor while ical import preview is shown.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8378 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1351,14 +1351,8 @@ begin
|
||||
dlg.FileName := '';
|
||||
dlg.Options := dlg.Options + [ofAllowMultiSelect, ofFileMustExist];
|
||||
if dlg.Execute then begin
|
||||
Screen.Cursor := crHourGlass;
|
||||
try
|
||||
Application.ProcessMessages;
|
||||
for fn in dlg.Files do
|
||||
ImportICalFile(fn, dlg.Files.Count = 1);
|
||||
finally
|
||||
Screen.Cursor := crDefault;
|
||||
end;
|
||||
for fn in dlg.Files do
|
||||
ImportICalFile(fn, dlg.Files.Count = 1);
|
||||
end;
|
||||
finally
|
||||
dlg.Free;
|
||||
|
@ -1331,14 +1331,8 @@ begin
|
||||
dlg.FileName := '';
|
||||
dlg.Options := dlg.Options + [ofAllowMultiSelect, ofFileMustExist];
|
||||
if dlg.Execute then begin
|
||||
Screen.Cursor := crHourGlass;
|
||||
try
|
||||
Application.ProcessMessages;
|
||||
for fn in dlg.Files do
|
||||
ImportICalFile(fn, dlg.Files.Count = 1);
|
||||
finally
|
||||
Screen.Cursor := crDefault;
|
||||
end;
|
||||
for fn in dlg.Files do
|
||||
ImportICalFile(fn, dlg.Files.Count = 1);
|
||||
end;
|
||||
finally
|
||||
dlg.Free;
|
||||
|
Reference in New Issue
Block a user