mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
update navigation widget on entry activate
This commit is contained in:
parent
dfa8c7a998
commit
320a97f9fb
1 changed files with 1 additions and 0 deletions
|
|
@ -85,6 +85,7 @@ impl Form {
|
||||||
if !this.text().is_empty() {
|
if !this.text().is_empty() {
|
||||||
match navigation.forward(subject) {
|
match navigation.forward(subject) {
|
||||||
Some((mut start, _)) => {
|
Some((mut start, _)) => {
|
||||||
|
navigation.update();
|
||||||
result.update(navigation.position(), navigation.total());
|
result.update(navigation.position(), navigation.total());
|
||||||
scroll_to_iter(&subject.text_view, &mut start)
|
scroll_to_iter(&subject.text_view, &mut start)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue