From 4e204d245fd0a7dd4f597863656a8cffd9606750 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Sat, 20 Mar 2021 15:59:11 +0100 Subject: [PATCH] Navigate when pressing return --- BirdyNet.py | 1 + 1 file changed, 1 insertion(+) diff --git a/BirdyNet.py b/BirdyNet.py index 3eeb695..22dff38 100644 --- a/BirdyNet.py +++ b/BirdyNet.py @@ -93,6 +93,7 @@ class browserWindow(QMainWindow): self.cViewMenu = self.cMenuBar.addMenu("View") self.cUrlBar = QLineEdit(config["default"]["home"],self) + self.cUrlBar.returnPressed.connect(self.cNavigate) self.cButtonGo = QPushButton("Go",self) self.cButtonGo.clicked.connect(self.cNavigate)