diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-03-08 08:37:52 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-03-08 08:37:52 +0100 |
| commit | cda826f8aa6e2d3e0f86b4bb29cb505379ff2968 (patch) | |
| tree | 7df4c7a4653660fe804beae6c9e2b310057d417b /src/GraphicObjects/Popper.cs | |
| parent | a4ba4781ad7c88166b977e4144be6aaf4488fd57 (diff) | |
remove IGOLibHost
Diffstat (limited to 'src/GraphicObjects/Popper.cs')
| -rw-r--r-- | src/GraphicObjects/Popper.cs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/GraphicObjects/Popper.cs b/src/GraphicObjects/Popper.cs index 5938fd8a..7c068085 100644 --- a/src/GraphicObjects/Popper.cs +++ b/src/GraphicObjects/Popper.cs @@ -92,11 +92,8 @@ namespace Crow { //ensure popped window is cleared if (Content != null) { - if (Content.Parent != null) { - IGOLibHost tc = Content.Parent as IGOLibHost; - if (tc != null) - tc.DeleteWidget (Content); - } + if (Content.Parent != null) + Interface.CurrentInterface.DeleteWidget (Content); } base.ClearBinding (); } |