Skip to content

Commit 563bd6f

Browse files
committed
bidirectional bind between url bars
1 parent 9a7dd50 commit 563bd6f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/widgets/window.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,11 @@ impl Window {
177177
imp.config.replace(config);
178178
imp.zoom.borrow_mut().value = 1.0;
179179

180+
imp.url_bar
181+
.bind_property("text", &*imp.small_url_bar, "text")
182+
.bidirectional()
183+
.build();
184+
180185
this.setup_css_providers();
181186
this.squeezer_changed();
182187
this.setup_history_buttons();

0 commit comments

Comments
 (0)