]> O.S.I.I.S - jp/crow.git/commitdiff
check content==null when Unpop
authorjpbruyere <jp.bruyere@hotmail.com>
Tue, 1 Mar 2016 03:52:38 +0000 (04:52 +0100)
committerjpbruyere <jp.bruyere@hotmail.com>
Tue, 1 Mar 2016 04:19:09 +0000 (05:19 +0100)
src/GraphicObjects/Popper.cs

index fdbed62cb4539fe76dbdc531d4bfc5ba7ce7c06f..5938fd8a51e45b4c448ad5771dc38fad0eeb0d85 100644 (file)
@@ -189,7 +189,8 @@ namespace Crow
                {
                        if (Interface.CurrentInterface == null)
                                return;
-                       Content.Visible = false;
+                       if (Content != null)
+                               Content.Visible = false;
                        Unpop.Raise (this, e);
                }
        }