mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 06:38:06 +02:00
Converter: Keep the main form of project open after conversion. Issue #25364.
git-svn-id: trunk@54339 -
This commit is contained in:
parent
9f3aae8c8c
commit
a86166fcfb
@ -1793,7 +1793,8 @@ begin
|
||||
if AnUnitInfo.OpenEditorInfoCount=0 then exit;
|
||||
Result:=LazarusIDE.DoSaveEditorFile(AnUnitInfo.OpenEditorInfo[0].EditorComponent,
|
||||
[sfCheckAmbiguousFiles,sfQuietUnitCheck]);
|
||||
if not fSettings.KeepFileOpen then
|
||||
// The main form has UnitIndex = 1. Don't close it.
|
||||
if (UnitIndex<>1) and not fSettings.KeepFileOpen then
|
||||
Result:=LazarusIDE.DoCloseEditorFile(AnUnitInfo.OpenEditorInfo[0].EditorComponent,
|
||||
[cfQuiet]);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user