Skip to content

Commit e4d2283

Browse files
committed
Don't advance activeMatch
Gets thrown off if something is removed
1 parent 49abb51 commit e4d2283

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/panels/edit/modals/FindReplaceModal.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ export default {
137137
if (!all) {
138138
let target = this.matches[this.activeMatch]
139139
this.replace(target)
140-
if (this.activeMatch < this.matches.length-1){
141-
this.activeMatch++
142-
}
140+
// if (this.activeMatch < this.matches.length-1){
141+
// this.activeMatch++
142+
// }
143143
} else {
144144
for (let target of this.matches) {
145145
this.replace(target)

0 commit comments

Comments
 (0)