mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 19:29:34 +02:00
* On opening file, move it to the start of the list (bug ID #33253)
git-svn-id: trunk@57410 -
This commit is contained in:
parent
c93e5ac5f6
commit
4edb42c9f6
@ -477,7 +477,10 @@ begin
|
||||
With (Sender as TRecentMenuItem) do
|
||||
FN:=FileName;
|
||||
if (FN<>'') and (OnRecentFile<>Nil) then
|
||||
begin
|
||||
OnRecentFile(Self,FN);
|
||||
AddToRecent(FN); // Gets moved to the top
|
||||
end;
|
||||
end;
|
||||
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user