mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 08:47:59 +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 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,
|
||||
|
Loading…
Reference in New Issue
Block a user