logic: fixed Searchbutton not searching and wrong destruction order in ComponentManager

This commit is contained in:
Eberhard Graether
2015-02-10 10:31:14 +01:00
parent 229c7a763b
commit 53eab0a517
4 changed files with 12 additions and 9 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ void ComponentManager::setup(ViewLayout* viewLayout)
std::shared_ptr<CompositeView> compositeView =
m_componentFactory->getViewFactory()->createCompositeView(viewLayout, CompositeView::DIRECTION_HORIZONTAL);
m_views.push_back(compositeView);
m_compositeViews.push_back(compositeView);
std::shared_ptr<Component> undoRedoComponent = m_componentFactory->createUndoRedoComponent(compositeView.get());
m_components.push_back(undoRedoComponent);