Permalink
Browse files

Fix last world problem

  • Loading branch information...
lontivero committed Nov 5, 2018
1 parent c125592 commit b8a23c0c8842f275873ce097289be94cf3eae055
Showing with 1 addition and 9 deletions.
  1. +1 −9 WalletWasabi.Gui/Behaviors/MnemonicSuggestionBehavior.cs
@@ -48,15 +48,7 @@ protected override void OnDetaching()
private void HandleAutoUpdate()
{
var textBox = AssociatedObject;
var text = textBox.Text;
var enteredWordList = text.Split(' ', StringSplitOptions.RemoveEmptyEntries);
var lastWorld = enteredWordList.LastOrDefault();
var suggestions = SuggestionItems;
if(suggestions.Count() == 1)
{
suggestions.First().OnSelected();
}
SuggestionItems.FirstOrDefault()?.OnSelected();
}
}
}

0 comments on commit b8a23c0

Please sign in to comment.