mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 06:38:06 +02:00
grids: Ignore empty grid's Hint in case of CellHintPriority=chpAll.
git-svn-id: trunk@55637 -
This commit is contained in:
parent
6de4e6bed6
commit
7d9b734b20
@ -3962,9 +3962,13 @@ begin
|
||||
begin
|
||||
AddToHint(txt, txt1);
|
||||
AddToHint(txt, txt2);
|
||||
if txt <> '' then begin
|
||||
txt := GetShortHint(FSavedHint) + LineEnding + txt;
|
||||
AppHint := GetLongHint(FSavedHint) + LineEnding + txt;
|
||||
if (txt <> '') then begin
|
||||
if FSavedHint = '' then
|
||||
AppHint := txt
|
||||
else begin
|
||||
txt := GetShortHint(FSavedHint) + LineEnding + txt;
|
||||
AppHint := GetLongHint(FSavedHint) + LineEnding + txt;
|
||||
end;
|
||||
end else
|
||||
begin
|
||||
txt := GetShortHint(FSavedHint);
|
||||
|
Loading…
Reference in New Issue
Block a user