mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 02:59:17 +02:00
* Fix bug ID #33276, check saved on MRU selection
git-svn-id: trunk@57421 -
This commit is contained in:
parent
85e2967074
commit
cde0a4e21c
@ -679,6 +679,8 @@ end;
|
|||||||
procedure TFPReportDesignerForm.MRUMenuManager1RecentFile(Sender: TObject;
|
procedure TFPReportDesignerForm.MRUMenuManager1RecentFile(Sender: TObject;
|
||||||
const AFileName: String);
|
const AFileName: String);
|
||||||
begin
|
begin
|
||||||
|
if Not CheckSaved(SOpenReport) then
|
||||||
|
Exit;
|
||||||
if Assigned(OnOpenReport) then
|
if Assigned(OnOpenReport) then
|
||||||
begin
|
begin
|
||||||
StopDesigning;
|
StopDesigning;
|
||||||
|
Loading…
Reference in New Issue
Block a user