mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
remove extra scopes
This commit is contained in:
parent
ffb6929bec
commit
584d85d434
1 changed files with 4 additions and 3 deletions
|
|
@ -50,9 +50,10 @@ impl Text for gtk::Box {
|
|||
form.buffer().connect_changed({
|
||||
let control = control.clone();
|
||||
move |this| {
|
||||
control.update(this.char_count(), {
|
||||
this.text(&this.start_iter(), &this.end_iter(), true).len()
|
||||
})
|
||||
control.update(
|
||||
this.char_count(),
|
||||
this.text(&this.start_iter(), &this.end_iter(), true).len(),
|
||||
)
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue