mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 19:25:33 +03:00
Don't select next match when toggling buffer search option
This commit is contained in:
parent
a835dcefa2
commit
d0d6c27ae9
@ -361,7 +361,7 @@ impl BufferSearchBar {
|
||||
SearchOption::Regex => &mut self.regex,
|
||||
};
|
||||
*value = !*value;
|
||||
self.update_matches(true, cx);
|
||||
self.update_matches(false, cx);
|
||||
cx.notify();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user