Solving bug with wrong word delete
This commit is contained in:
1 parent
fd86cb3550
commit
cd2ef5b4ed
1 file changed
+1
@@ -146,6 +146,7 @@ impl DictionaryState {
|
||||
let state = &mut self.state.lock().unwrap();
|
||||
let dict = &mut state.dictionary;
|
||||
let word = dict.remove(i);
|
||||
self.include_map.remove(i);
|
||||
delete_word(&word, &state.connection)
|
||||
}
|
||||
DictionaryMessage::Include(i, b) => self.include_map[i] = b,
|
||||
|
||||
Reference in new issue
Block a user