Skip to content

Commit 2341656

Browse files
Jeremy WoottenJeremy Wootten
authored andcommitted
Fix regression - do not show deleted but unreaped words
1 parent 4296f43 commit 2341656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/word-completion/prefix-tree-node.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ public class Scratch.Plugins.PrefixNode : Object {
229229

230230
var initial_sb_str = sb.str;
231231
foreach (var child in children) {
232-
if (child.type == WORD_END) {
232+
if (child.type == WORD_END && child.occurs ()) {
233233
completions.prepend (sb.str);
234234
} else {
235235
sb.append (child.char_s);

0 commit comments

Comments
 (0)