mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
SuperView could be null too in the case of for ex dialog
This commit is contained in:
@@ -382,7 +382,7 @@ namespace Terminal.Gui {
|
||||
selected = -1;
|
||||
SetNeedsDisplay ();
|
||||
SuperView.Remove (openMenu);
|
||||
previousFocused?.SuperView.SetFocus (previousFocused);
|
||||
previousFocused?.SuperView?.SetFocus (previousFocused);
|
||||
openMenu = null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user