mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Fixed AllViewsTester
This commit is contained in:
@@ -478,9 +478,7 @@ public class AllViewsTester : Scenario
|
||||
|
||||
private void View_Initialized (object sender, EventArgs e)
|
||||
{
|
||||
var view = sender as View;
|
||||
|
||||
if (view is null)
|
||||
if (sender is not View view)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user