From f4b188658dd0d3142fbf2a61b770f08ef802cb30 Mon Sep 17 00:00:00 2001 From: Jekyll Wu Date: Sun, 14 Aug 2011 17:46:13 +0800 Subject: [PATCH] Newly created container should also show new & close button. BUG: 207213 REVIEW: 102324 --- src/ViewManager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ViewManager.cpp b/src/ViewManager.cpp index 511336345..20b46b09a 100644 --- a/src/ViewManager.cpp +++ b/src/ViewManager.cpp @@ -443,7 +443,10 @@ void ViewManager::splitView(Qt::Orientation orientation) // create a container using settings from the first // session in the previous container if ( !container ) + { container = createContainer(info); + applyProfileToContainer(container, info); + } container->addView(display,properties); session->addView( display );