Now, on C-S-f, only the findWA cursor remains visible and blinking, as it should be

(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
This commit is contained in:
Tommaso Cucinotta 2009-12-29 17:21:09 +00:00
parent 7a0c8c7df8
commit c1cd1fbe28

View File

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