From a47073cdf87c5683ae6c16f6ae73cbd478f31f8f Mon Sep 17 00:00:00 2001 From: mfreiholz Date: Thu, 3 Mar 2016 07:12:26 +0100 Subject: [PATCH] raise* now works on hidden contents, too. --- AdvancedDockingSystem/src/ContainerWidget.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/AdvancedDockingSystem/src/ContainerWidget.cpp b/AdvancedDockingSystem/src/ContainerWidget.cpp index 910eb4a..66b5080 100644 --- a/AdvancedDockingSystem/src/ContainerWidget.cpp +++ b/AdvancedDockingSystem/src/ContainerWidget.cpp @@ -228,8 +228,10 @@ bool ContainerWidget::raiseSectionContent(const SectionContent::RefPtr& sc) } // Search SC in hidden - // TODO + if (_hiddenSectionContents.contains(sc->uid())) + return showSectionContent(sc); + qFatal("Unable to hide SectionContent, don't know this one 8-/"); return false; }