summaryrefslogtreecommitdiff
path: root/src/interface/Window.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-05-13 19:00:22 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-05-13 19:00:22 (GMT)
commit7758fe52cb9ef78b562bc2587b17b6344d8829fe (patch)
tree92f45320d240148f6e518ed07aec480e329d4a25 /src/interface/Window.cpp
parent4032a0469b1f40f7197468f34986e365bd6e7314 (diff)
downloadpowder-7758fe52cb9ef78b562bc2587b17b6344d8829fe.zip
powder-7758fe52cb9ef78b562bc2587b17b6344d8829fe.tar.gz
DropDown UI component
Diffstat (limited to 'src/interface/Window.cpp')
-rw-r--r--src/interface/Window.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interface/Window.cpp b/src/interface/Window.cpp
index 2de6463..86221ab 100644
--- a/src/interface/Window.cpp
+++ b/src/interface/Window.cpp
@@ -26,6 +26,7 @@ Window::~Window()
if(Components[i]==focusedComponent_)
focusedComponent_ = NULL;
}
+ Components.clear();
}
void Window::AddComponent(Component* c)