Navigate when pressing return
This commit is contained in:
parent
e97e6a5efe
commit
4e204d245f
@ -93,6 +93,7 @@ class browserWindow(QMainWindow):
|
|||||||
self.cViewMenu = self.cMenuBar.addMenu("View")
|
self.cViewMenu = self.cMenuBar.addMenu("View")
|
||||||
|
|
||||||
self.cUrlBar = QLineEdit(config["default"]["home"],self)
|
self.cUrlBar = QLineEdit(config["default"]["home"],self)
|
||||||
|
self.cUrlBar.returnPressed.connect(self.cNavigate)
|
||||||
self.cButtonGo = QPushButton("Go",self)
|
self.cButtonGo = QPushButton("Go",self)
|
||||||
self.cButtonGo.clicked.connect(self.cNavigate)
|
self.cButtonGo.clicked.connect(self.cNavigate)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user