[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/konqueror
From: Waldo Bastian <bastian () kde ! org>
Date: 2005-01-24 11:14:10
Message-ID: 20050124111410.A9CB51D1A0 () office ! kde ! org
[Download RAW message or body]
CVS commit by waba:
Make activating an already active tab a no-op.
M +6 -2 konq_viewmgr.cc 1.277
--- kdebase/konqueror/konq_viewmgr.cc #1.276:1.277
@@ -709,6 +709,10 @@ void KonqViewManager::activateTab(int po
void KonqViewManager::showTab( KonqView *view )
{
- static_cast<KonqFrameTabs*>( docContainer() )->showPage( view->frame() );
+ KonqFrameTabs *tabContainer = static_cast<KonqFrameTabs*>( docContainer() );
+ if (tabContainer->currentPage() != view->frame())
+ {
+ tabContainer->showPage( view->frame() );
emitActivePartChanged();
+ }
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic