mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Fixing #7410 (weird stale selection leads to assertion after replace all).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40528 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0da8a39a3b
commit
c3f3ead287
@ -328,7 +328,8 @@ bool FindAndReplaceWidget::findAndReplaceScope(FindAndReplaceOptions & opt, bool
|
||||
continue;
|
||||
view_.setBusy(false);
|
||||
return true;
|
||||
}
|
||||
} else if (replace_all)
|
||||
bv->clearSelection();
|
||||
|
||||
// No match found in current buffer (however old selection might have been replaced)
|
||||
// select next buffer in scope, if any
|
||||
|
Loading…
Reference in New Issue
Block a user