From a0b27fd9c8cec145c8c16d0ab5f99d030ced7fb8 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 27 Jan 2013 01:47:55 +0100 Subject: Fix tab when showing a kpart. Let also see title where needed --- src/webwindow/findbar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/webwindow/findbar.cpp') diff --git a/src/webwindow/findbar.cpp b/src/webwindow/findbar.cpp index 5f7d36e2..6bf9ac0d 100644 --- a/src/webwindow/findbar.cpp +++ b/src/webwindow/findbar.cpp @@ -150,7 +150,7 @@ void FindBar::setVisible(bool visible) if (visible && w->page()->isOnRekonqPage() - && w->view()->part() != 0) + && w->tabView()->part() != 0) { // findNext is the slot containing part integration code findNext(); @@ -230,7 +230,7 @@ void FindBar::findNext() if (w->page()->isOnRekonqPage()) { // trigger part find action - KParts::ReadOnlyPart *p = w->view()->part(); + KParts::ReadOnlyPart *p = w->tabView()->part(); if (p) { // connect(this, SIGNAL(triggerPartFind()), p, SLOT(slotFind())); -- cgit v1.2.1