Revert "Fixes #7630 Hint was be appending for every language. Changed to only fill hint with the matching language."

This reverts commit b6468db118,
the bug will be properly fixed by the cherry-pick of 6b5c595.
This commit is contained in:
Rémi Verschelde 2017-02-08 16:18:22 +01:00
parent be0350704f
commit 9e3f063e99

View file

@ -114,8 +114,11 @@ public:
if (langs[j]==lname.substr(0,langs[j].length()).to_lower()) {
idx=j;
hint+=names[j].replace(","," ");
}
if (j>0) {
hint+=",";
}
hint+=names[j].replace(","," ");
}
ti->set_cell_mode(1,TreeItem::CELL_MODE_RANGE);