Taborder dialog: Fix caption when form designer is not active. Issue #28054, patch from Ondrej Pokorny.

git-svn-id: trunk@49433 -
This commit is contained in:
juha 2015-06-24 16:12:33 +00:00
parent 5286b35a45
commit f12c7c2fa3

View File

@ -369,7 +369,8 @@ begin
Candidates.Free; Candidates.Free;
end; end;
Caption := Format(lisTabOrderOf, [TWinControl(LookupRoot).Name]); Caption := Format(lisTabOrderOf, [TWinControl(LookupRoot).Name]);
end; end else
Caption := lisMenuViewTabOrder;
finally finally
ItemTreeview.EndUpdate; ItemTreeview.EndUpdate;
FUpdating := false; FUpdating := false;