IDE: Check for 'Unversioned directory' when omitting revision from IDE title.

git-svn-id: trunk@61029 -
This commit is contained in:
juha 2019-04-21 08:11:46 +00:00
parent 519161a185
commit ac23dd220d
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{
/***************************************************************************
buildmanager.pas
----------------
basebuildmanager.pas
--------------------
***************************************************************************/

View File

@ -8478,7 +8478,7 @@ begin
if MainIDEBar = nil then Exit;
if ToolStatus = itExiting then Exit;
rev := GetLazarusRevision;
if (rev = '') or (rev = 'Unknown') then
if (rev = '') or (rev = 'Unknown') or (rev = 'Unversioned directory') then
NewCaption := Format(lisLazarusEditorV, [GetLazarusVersionString])
else
NewCaption := Format(lisLazarusEditorV + ' ' + lisLazarusSVNRev,