File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -209,6 +209,11 @@ impl Tab {
209209 let imp = self . imp ( ) ;
210210
211211 self . set_progress ( 0.0 ) ;
212+ * imp. title . borrow_mut ( ) = url. to_string ( ) ;
213+ self . notify ( "title" ) ;
214+ * imp. url . borrow_mut ( ) = url. to_string ( ) ;
215+ self . notify ( "url" ) ;
216+
212217 let scroll_progress = imp. scroll_win . vadjustment ( ) . value ( ) ;
213218 let mut history = imp. history . borrow_mut ( ) ;
214219 if let Some ( item) = history. last_mut ( ) {
@@ -235,10 +240,6 @@ impl Tab {
235240 Self :: display_error ( & mut req_ctx. draw_ctx , e) ;
236241 }
237242 }
238- * this. imp ( ) . title . borrow_mut ( ) = url. to_string ( ) ;
239- this. notify ( "title" ) ;
240- * this. imp ( ) . url . borrow_mut ( ) = url. to_string ( ) ;
241- this. notify ( "url" ) ;
242243 this. set_progress ( 1.0 ) ;
243244 } ;
244245 self . set_progress ( 0.3 ) ;
You can’t perform that action at this time.
0 commit comments