Skip to content

Commit

Permalink
Fix button (click -> invoke)
Browse files Browse the repository at this point in the history
  • Loading branch information
MELVARDEV committed Jul 3, 2021
1 parent edb44b4 commit 3cf590d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion League Pass Manager/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,8 @@ void simulateFill(Process pr)
{
try
{
mainWindow.FindFirstDescendant(cf.ByName("Sign in")).AsButton().Invoke();

mainWindow.FindFirstDescendant(cf.ByName("Sign in").And(cf.ByControlType(ControlType.Button))).AsButton().Invoke();
tryAgain = false;
}
catch (Exception e) { }
Expand Down

0 comments on commit 3cf590d

Please sign in to comment.