mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 18:39:20 +02:00
added check for UpdateCaption if MainIDEBar is already destroyed
git-svn-id: trunk@6962 -
This commit is contained in:
parent
e94b4e2fe9
commit
ff9ffbfede
@ -7942,6 +7942,7 @@ end;
|
|||||||
procedure TMainIDE.UpdateCaption;
|
procedure TMainIDE.UpdateCaption;
|
||||||
var NewCaption: string;
|
var NewCaption: string;
|
||||||
begin
|
begin
|
||||||
|
if MainIDEBar=nil then exit;
|
||||||
NewCaption := Format(lisLazarusEditorV, [lisLazarusVersionString]);
|
NewCaption := Format(lisLazarusEditorV, [lisLazarusVersionString]);
|
||||||
if Project1<>nil then begin
|
if Project1<>nil then begin
|
||||||
if Project1.Title<>'' then
|
if Project1.Title<>'' then
|
||||||
@ -11492,6 +11493,9 @@ end.
|
|||||||
|
|
||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.859 2005/03/16 12:03:40 mattias
|
||||||
|
added check for UpdateCaption if MainIDEBar is already destroyed
|
||||||
|
|
||||||
Revision 1.858 2005/03/16 11:41:33 mattias
|
Revision 1.858 2005/03/16 11:41:33 mattias
|
||||||
fixed view OI menu item to always show OI, instead of showing next
|
fixed view OI menu item to always show OI, instead of showing next
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user