Navigate when pressing return

This commit is contained in:
Fierelier 2021-03-20 15:59:11 +01:00
parent e97e6a5efe
commit 4e204d245f

View File

@ -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)