[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/khtml
From: Luís Pedro Coelho <luis () luispedro ! org>
Date: 2004-01-24 20:37:12
Message-ID: 20040124203712.A5A7991D4 () office ! kde ! org
[Download RAW message or body]
CVS commit by luis_pedro:
Reset the found counter when the to-search string changes.
Ok'd by dfaure.
M +4 -1 khtml_part.cpp 1.963
--- kdelibs/khtml/khtml_part.cpp #1.962:1.963
@@ -2618,5 +2618,8 @@ void KHTMLPart::findTextNext()
if ( d->m_findDialog ) // 0 when we close the dialog
{
+ if ( d->m_find->pattern() != d->m_findDialog->pattern() ) {
d->m_find->setPattern( d->m_findDialog->pattern() );
+ d->m_find->resetCounts();
+ }
long options = d->m_findDialog->options();
if ( d->m_lastFindState.options != options )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic