mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 10:59:29 +02:00
lcl: gtk2: fixed error handling in GtkDragDataReceived, bug #32611, patch from C Western
git-svn-id: branches/fixes_1_8@56198 -
This commit is contained in:
parent
99aa0481e5
commit
86165e04d5
@ -3435,7 +3435,7 @@ begin
|
||||
Result := False;
|
||||
|
||||
if selection_data^.data <> nil then // data is list of uri
|
||||
begin
|
||||
try
|
||||
SetLength(Files, 0);
|
||||
S := TStringList.Create;
|
||||
try
|
||||
@ -3481,6 +3481,8 @@ begin
|
||||
|
||||
Result := True;
|
||||
end;
|
||||
except
|
||||
Application.HandleException(nil);
|
||||
end;
|
||||
|
||||
gtk_drag_finish(Context, Result, false, time);
|
||||
|
Loading…
Reference in New Issue
Block a user