mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-08 06:18:20 +02:00
IDE: Check for 'Unversioned directory' when omitting revision from IDE title.
git-svn-id: trunk@61029 -
This commit is contained in:
parent
519161a185
commit
ac23dd220d
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
buildmanager.pas
|
basebuildmanager.pas
|
||||||
----------------
|
--------------------
|
||||||
|
|
||||||
|
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
@ -8478,7 +8478,7 @@ begin
|
|||||||
if MainIDEBar = nil then Exit;
|
if MainIDEBar = nil then Exit;
|
||||||
if ToolStatus = itExiting then Exit;
|
if ToolStatus = itExiting then Exit;
|
||||||
rev := GetLazarusRevision;
|
rev := GetLazarusRevision;
|
||||||
if (rev = '') or (rev = 'Unknown') then
|
if (rev = '') or (rev = 'Unknown') or (rev = 'Unversioned directory') then
|
||||||
NewCaption := Format(lisLazarusEditorV, [GetLazarusVersionString])
|
NewCaption := Format(lisLazarusEditorV, [GetLazarusVersionString])
|
||||||
else
|
else
|
||||||
NewCaption := Format(lisLazarusEditorV + ' ' + lisLazarusSVNRev,
|
NewCaption := Format(lisLazarusEditorV + ' ' + lisLazarusSVNRev,
|
||||||
|
Loading…
Reference in New Issue
Block a user