ide: fix error with showing window caption

git-svn-id: trunk@19417 -
This commit is contained in:
paul 2009-04-13 23:08:32 +00:00
parent 726bd7ccc8
commit 9efd00c0b8

View File

@ -129,8 +129,7 @@ begin
WindowPositionsBox.Layout := FLayouts.ItemByEnum(TNonModalIDEWindow(Index + 1))
else
begin
Index := Index - Ord(High(TNonModalIDEWindow));
case Index of
case Index - Ord(High(TNonModalIDEWindow)) of
0: WindowPositionsBox.Layout := FLayouts.ItemByFormID(DefaultObjectInspectorName);
end;
end;