Skip to content

Commit

Permalink
Fixes #73
Browse files Browse the repository at this point in the history
  • Loading branch information
rampaa committed Nov 22, 2023
1 parent bed52d3 commit a281e00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion JL.Windows/GUI/PopupWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1231,10 +1231,11 @@ private async void PrimarySpelling_PreviewMouseUp(object sender, MouseButtonEven
}

string? selectedDefinitions = GetSelectedDefinitions(_listViewItemIndex);
int listViewItemIndex = _listViewItemIndex;

HidePopup();

await PopupWindowUtils.Mine(LastLookupResults[_listViewItemIndex], _currentText, selectedDefinitions, _currentCharPosition).ConfigureAwait(false);
await PopupWindowUtils.Mine(LastLookupResults[listViewItemIndex], _currentText, selectedDefinitions, _currentCharPosition).ConfigureAwait(false);
}

private void ShowAddNameWindow()
Expand Down

0 comments on commit a281e00

Please sign in to comment.