update navigation widget on entry activate

This commit is contained in:
yggverse 2024-12-18 15:41:36 +02:00
parent dfa8c7a998
commit 320a97f9fb

View File

@ -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)
} }