mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
FIX: Incorrect hint when hint is empty
This commit is contained in:
parent
04587cd520
commit
d4f13b8956
1 changed files with 4 additions and 0 deletions
|
|
@ -779,6 +779,10 @@ var
|
|||
AFile: TDisplayFile;
|
||||
sHint: UTF8String;
|
||||
begin
|
||||
// Rewrite HintStr because when MainControl.Hint is empty
|
||||
// it would contain parent hint that is not correct behavior
|
||||
HintInfo^.HintStr:= MainControl.Hint;
|
||||
|
||||
if (HintInfo^.HintStr = EmptyStr) or not IsFileIndexInRange(FHintFileIndex) then
|
||||
Exit; // don't show
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue