Merge pull request #4268 from Paulb23/find_replace_undo_redo_fix
Fixed undo redo interaction with find replace
This commit is contained in:
commit
b6a2459870
1 changed files with 2 additions and 1 deletions
|
@ -148,6 +148,7 @@ void FindReplaceDialog::_replace_skip_callback() {
|
|||
|
||||
void FindReplaceDialog::_replace() {
|
||||
|
||||
text_edit->begin_complex_operation();
|
||||
if (is_replace_all_mode()) {
|
||||
|
||||
//line as x so it gets priority in comparison, column as y
|
||||
|
@ -228,7 +229,7 @@ void FindReplaceDialog::_replace() {
|
|||
|
||||
_search();
|
||||
}
|
||||
|
||||
text_edit->end_complex_operation();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue