mirror of https://gitlab.com/basile.b/dexed.git
more of them
This commit is contained in:
parent
c8240766e7
commit
6668c04bd3
|
@ -714,7 +714,7 @@ begin
|
||||||
canClose := false;
|
canClose := false;
|
||||||
if fProject <> nil then if fProject.modified then
|
if fProject <> nil then if fProject.modified then
|
||||||
if ce_common.dlgOkCancel(
|
if ce_common.dlgOkCancel(
|
||||||
'last project modifications are not saved, quit anyway ?') <> mrOK then
|
'The project modifications are not saved, quit anyway ?') <> mrOK then
|
||||||
exit;
|
exit;
|
||||||
for i := fMultidoc.documentCount-1 downto 0 do
|
for i := fMultidoc.documentCount-1 downto 0 do
|
||||||
if not fMultidoc.closeDocument(i) then exit;
|
if not fMultidoc.closeDocument(i) then exit;
|
||||||
|
@ -1087,7 +1087,7 @@ procedure TCEMainForm.actFileCloseExecute(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
if fDoc = nil then exit;
|
if fDoc = nil then exit;
|
||||||
if fDoc.modified then if dlgOkCancel(
|
if fDoc.modified then if dlgOkCancel(
|
||||||
'The latest mdofifications are not saved, continue ?') = mrCancel
|
'The file modifications are not saved, continue ?') = mrCancel
|
||||||
then exit;
|
then exit;
|
||||||
//
|
//
|
||||||
fDoc.Free;
|
fDoc.Free;
|
||||||
|
@ -1678,7 +1678,7 @@ end;
|
||||||
procedure TCEMainForm.actProjOpenExecute(Sender: TObject);
|
procedure TCEMainForm.actProjOpenExecute(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
if fProject <> nil then if fProject.modified then if dlgOkCancel(
|
if fProject <> nil then if fProject.modified then if dlgOkCancel(
|
||||||
'The latest mdofifications are not saved, continue ?')
|
'The project modifications are not saved, continue ?')
|
||||||
= mrCancel then exit;
|
= mrCancel then exit;
|
||||||
with TOpenDialog.Create(nil) do
|
with TOpenDialog.Create(nil) do
|
||||||
try
|
try
|
||||||
|
|
Loading…
Reference in New Issue