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

This commit is contained in:
Craig Smith 2017-01-27 22:43:44 -08:00
parent cdb0be8eed
commit b6468db118
1 changed files with 1 additions and 4 deletions

View File

@ -114,11 +114,8 @@ 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);