From b541408c268584d85e46e3a0d5092acb44c9c923 Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Tue, 1 Mar 2016 04:52:38 +0100 Subject: [PATCH] check content==null when Unpop --- src/GraphicObjects/Popper.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/GraphicObjects/Popper.cs b/src/GraphicObjects/Popper.cs index fdbed62c..5938fd8a 100644 --- a/src/GraphicObjects/Popper.cs +++ b/src/GraphicObjects/Popper.cs @@ -189,7 +189,8 @@ namespace Crow { if (Interface.CurrentInterface == null) return; - Content.Visible = false; + if (Content != null) + Content.Visible = false; Unpop.Raise (this, e); } } -- 2.47.3