mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Backport Tommaso's fix for #7410: Weird stale selection leads
to assertion after replace all. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40651 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4158734a2e
commit
88fe65bf0c
@ -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
|
||||
|
@ -215,6 +215,8 @@ What's new
|
||||
|
||||
* ADVANCED FIND AND REPLACE
|
||||
|
||||
- Fix crash with Replace All (bug 7410).
|
||||
|
||||
|
||||
* BUILD/INSTALLATION
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user