Skip to content

Commit

Permalink
fix integration test app.
Browse files Browse the repository at this point in the history
  • Loading branch information
danwalmsley committed Dec 6, 2022
1 parent 96465de commit d926650
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions samples/IntegrationTestApp/MainWindow.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.Linq;
using Avalonia;
using Avalonia.Automation;
using Avalonia.Controls;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Interactivity;
Expand Down Expand Up @@ -70,7 +69,6 @@ private void ShowWindow()
var existing = lifetime.Windows.OfType<ShowWindowTest>().Count();
if (existing > 0)
{
AutomationProperties.SetAutomationId(window, window.Name + (existing + 1));
window.Title += $" {existing + 1}";
}
}
Expand Down

0 comments on commit d926650

Please sign in to comment.