fix autocomplete pop ups

This commit is contained in:
Simon Gardling
2022-04-03 14:24:59 -04:00
parent 777a523aad
commit 683a471dbb
3 changed files with 5 additions and 5 deletions

View File

@@ -485,7 +485,7 @@ impl MathApp {
// Contains the function string in a text box that the user can edit
let (focused, changed, error) =
function.auto_complete(ui, &mut self.func_strs[i]);
function.auto_complete(ui, &mut self.func_strs[i], i as i32);
if focused {
self.text_boxes_focused = true;
}