Summary: | Find dialog loses focus when string is not found or search wraps around | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Fredrik Fornwall <fredrikfornwall> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Prevent that the Find dialog loses focus |
Description
Fredrik Fornwall
2005-05-05 02:55:05 UTC
Created attachment 10905 [details]
Prevent that the Find dialog loses focus
SVN commit 410615 by hindenburg: Fix find dialog's focus. Thanks for patch! BUG: 105126 M +3 -3 trunk/KDE/kdebase/konsole/konsole/konsole.cpp --- trunk/KDE/kdebase/konsole/konsole/konsole.cpp #410614:410615 @@ -3704,7 +3704,7 @@ else if (m_find_found) { if (forward) { - if ( KMessageBox::questionYesNo( this, + if ( KMessageBox::questionYesNo( m_finddialog, i18n("End of history reached.\n" "Continue from the beginning?"), i18n("Find") ) == KMessageBox::Yes ) { m_find_first = true; @@ -3712,7 +3712,7 @@ } } else { - if ( KMessageBox::questionYesNo( this, + if ( KMessageBox::questionYesNo( m_finddialog, i18n("Beginning of history reached.\n" "Continue from the end?"), i18n("Find") ) == KMessageBox::Yes ) { m_find_first = true; @@ -3721,7 +3721,7 @@ } } else - KMessageBox::information( this, + KMessageBox::information( m_finddialog, i18n( "Search string '%1' not found." ).arg(KStringHandler::csqueeze(m_find_pattern)), i18n( "Find" ) ); } |