mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-11 10:42:47 +02:00
lcl: gtk2: fixed error handling in GtkDragDataReceived, bug #32611, patch from C Western
git-svn-id: trunk@56193 -
This commit is contained in:
parent
3e6aa6d36d
commit
c448ca8778
@ -21,15 +21,12 @@ Working:
|
|||||||
- reference foreign root, reference foreign component
|
- reference foreign root, reference foreign component
|
||||||
- create components before setting properties to avoid having to set references
|
- create components before setting properties to avoid having to set references
|
||||||
later
|
later
|
||||||
- inline component, csInline, call SetInline
|
- inline component, csInline, call SetInline, inherited inline, inline on inherited
|
||||||
|
|
||||||
ToDo:
|
ToDo:
|
||||||
- enum: add unit, avoid nameclash with-do
|
- enum: add unit, avoid nameclash with-do
|
||||||
- custom integer TColor, add unit, avoid nameclash with-do
|
- custom integer TColor, add unit, avoid nameclash with-do
|
||||||
- method, avoid nameclash with-do
|
- method, avoid nameclash with-do
|
||||||
- inline with ancestor
|
|
||||||
- ancestor with inline
|
|
||||||
- inline in inline
|
|
||||||
- TComponent.Left/Right
|
- TComponent.Left/Right
|
||||||
- DefineProperties
|
- DefineProperties
|
||||||
- tkInterface
|
- tkInterface
|
||||||
|
@ -3493,7 +3493,7 @@ begin
|
|||||||
Result := False;
|
Result := False;
|
||||||
|
|
||||||
if selection_data^.data <> nil then // data is list of uri
|
if selection_data^.data <> nil then // data is list of uri
|
||||||
begin
|
try
|
||||||
SetLength(Files, 0);
|
SetLength(Files, 0);
|
||||||
S := TStringList.Create;
|
S := TStringList.Create;
|
||||||
try
|
try
|
||||||
@ -3539,6 +3539,8 @@ begin
|
|||||||
|
|
||||||
Result := True;
|
Result := True;
|
||||||
end;
|
end;
|
||||||
|
except
|
||||||
|
Application.HandleException(nil);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
gtk_drag_finish(Context, Result, false, time);
|
gtk_drag_finish(Context, Result, false, time);
|
||||||
|
Loading…
Reference in New Issue
Block a user