fix state

This commit is contained in:
Cheney 2015-09-23 11:28:50 +08:00
parent 41404cd3f9
commit 2a02950868
1 changed files with 1 additions and 0 deletions

View File

@ -103,6 +103,7 @@ func (o *opSearch) ExitSearchMode(revert bool) {
o.history.current = o.source
o.buf.Set(o.history.showItem(o.history.current.Value))
}
o.state = S_STATE_FOUND
o.inMode = false
o.source = nil
o.data = nil