]> git.lyx.org Git - features.git/commitdiff
Now, on C-S-f, only the findWA cursor remains visible and blinking, as it should be
authorTommaso Cucinotta <tommaso@lyx.org>
Tue, 29 Dec 2009 17:21:09 +0000 (17:21 +0000)
committerTommaso Cucinotta <tommaso@lyx.org>
Tue, 29 Dec 2009 17:21:09 +0000 (17:21 +0000)
(formerly, the replaceWA cursor used to remain visible but non-blinking).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32673 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/FindAndReplace.cpp

index 4f6f30415ced9bfc60bc1898dd0e648d424d9194..817a1d5b59526849d2b3054927d5fb1c7780b12e 100644 (file)
@@ -258,7 +258,8 @@ void FindAndReplaceWidget::on_replaceallPB_clicked()
 
 void FindAndReplaceWidget::showEvent(QShowEvent * /* ev */)
 {
-       replace_work_area_->redraw();
+       view_.currentMainWorkArea()->redraw();
+       replace_work_area_->setFocus();
        find_work_area_->setFocus();
        view_.setCurrentWorkArea(find_work_area_);
        LYXERR(Debug::FIND, "Selecting entire find buffer");