diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-04-09 11:40:30 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-04-09 11:40:30 (GMT) |
| commit | b2907798f28b4acce5b024f025e7b96079f53338 (patch) | |
| tree | b331b195c491344afc48d61da4db730fc2ae817a /src/interface/Component.cpp | |
| parent | da9cec2c3bbf0ff46642ffbbf918d3afa513069a (diff) | |
| download | powder-b2907798f28b4acce5b024f025e7b96079f53338.zip powder-b2907798f28b4acce5b024f025e7b96079f53338.tar.gz | |
Fix issue where unborn children were slaughtered when removing a component from an event
Diffstat (limited to 'src/interface/Component.cpp')
| -rw-r--r-- | src/interface/Component.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/interface/Component.cpp b/src/interface/Component.cpp index b2769cc..0efc2b1 100644 --- a/src/interface/Component.cpp +++ b/src/interface/Component.cpp @@ -148,6 +148,5 @@ void Component::OnMouseWheelInside(int localx, int localy, int d) Component::~Component() { - if(GetParentWindow()->IsFocused(this)) - GetParentWindow()->FocusComponent(NULL); + } |
