mirror of
https://github.com/Afacanc38/browser.git
synced 2024-11-23 14:20:40 +03:00
update url input text when url changing
This commit is contained in:
parent
3ef4734702
commit
d799e0b5ca
1 changed files with 0 additions and 1 deletions
1
main.py
1
main.py
|
@ -69,7 +69,6 @@ class MyWindow(Handy.Window):
|
||||||
self.web.load_uri(url_text)
|
self.web.load_uri(url_text)
|
||||||
else:
|
else:
|
||||||
self.web.load_uri(f"https://duckduckgo.com/?q={url_text}")
|
self.web.load_uri(f"https://duckduckgo.com/?q={url_text}")
|
||||||
self.inp_url.set_text("")
|
|
||||||
def on_btn_ref_clicked(self, widget):
|
def on_btn_ref_clicked(self, widget):
|
||||||
self.web.reload()
|
self.web.reload()
|
||||||
def change_url(self, widget, frame):
|
def change_url(self, widget, frame):
|
||||||
|
|
Loading…
Reference in a new issue