diff options
author | Yoann Laissus <yoann.laissus@gmail.com> | 2010-02-19 15:42:22 +0100 |
---|---|---|
committer | Yoann Laissus <yoann.laissus@gmail.com> | 2010-02-19 15:42:22 +0100 |
commit | cbf12dbaa27add9bfdfda728d7c952429262ca99 (patch) | |
tree | f6753726f0168d4d9b1d054737bb04c0d95cd14e /src/mainwindow.cpp | |
parent | The text is now instantly checked when the checkbox match case is toggled (diff) | |
download | rekonq-cbf12dbaa27add9bfdfda728d7c952429262ca99.tar.xz |
Fix a small regression : the color of the lineEdit of the findBar is not correctly updated when it's empty
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index f9f211ca..22cf8c6c 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -774,11 +774,6 @@ void MainWindow::find(const QString & search) return; m_lastSearch = search; - if(m_lastSearch.isEmpty()) - { - currentTab()->view()->page()->focusNextPrevChild(true); - return; - } findNext(); } @@ -788,7 +783,7 @@ void MainWindow::findNext() if (!currentTab()) return; - if(m_lastSearch.isEmpty() || m_findBar->isHidden()) + if(m_findBar->isHidden()) { currentTab()->view()->page()->focusNextPrevChild(true); return; @@ -810,7 +805,7 @@ void MainWindow::findPrevious() if (!currentTab()) return; - if(m_lastSearch.isEmpty() || m_findBar->isHidden()) + if(m_findBar->isHidden()) { currentTab()->view()->page()->focusNextPrevChild(true); return; |