mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 17:57:57 +01:00
Fix unit test error
This commit is contained in:
@@ -527,7 +527,7 @@ internal sealed class Menu : View
|
||||
|
||||
private void Application_UnGrabbedMouse (object? sender, ViewEventArgs a)
|
||||
{
|
||||
if (_host.IsMenuOpen)
|
||||
if (_host is { IsMenuOpen: true })
|
||||
{
|
||||
_host.CloseAllMenus ();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user