-rw-r--r-- | libopie/big-screen/osplitter.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libopie/big-screen/osplitter.cpp b/libopie/big-screen/osplitter.cpp index 47f856d..b09bc94 100644 --- a/libopie/big-screen/osplitter.cpp +++ b/libopie/big-screen/osplitter.cpp @@ -404,2 +404,4 @@ void OSplitter::changeTab() { if (m_tabWidget ) { + raise(); + show(); m_tabWidget->setGeometry( frameRect() ); @@ -416,2 +418,3 @@ void OSplitter::changeTab() { if ( m_parentTab ) { + hide(); tab = m_parentTab; @@ -547,6 +550,4 @@ void OSplitter::setTabWidget( OTabWidget* wid) { /* our own crap is added and children from change* */ - if (m_parentTab ) { - delete tab; - delete box; - } + delete tab; + delete box; } |