diff --git a/BirdyNet.py b/BirdyNet.py index 22dff38..8344bbf 100644 --- a/BirdyNet.py +++ b/BirdyNet.py @@ -105,6 +105,7 @@ class browserWindow(QMainWindow): self.cResizeElements() self.show() self.cNavigate() + self.cUrlBar.setFocus() def cResizeElements(self): barSize = 22 @@ -144,6 +145,7 @@ class browserWindow(QMainWindow): self.cDoc.cRenderHtml(response["body"].decode("utf-8",errors="ignore")) end = time.time() print("Rendering page: " +str(end - start)) + self.cDoc.setFocus() self.cStatusBar.showMessage("Ready") self.update() #print(prettyJson(response["headers"]))