Add keys to MainWindow, not to tabs
This commit is contained in:
parent
020d079b85
commit
7d285fa5a3
@ -17,7 +17,7 @@ def main():
|
|||||||
cmds.cmd_dict['open'].signal.connect(mw.tabs.openurl)
|
cmds.cmd_dict['open'].signal.connect(mw.tabs.openurl)
|
||||||
cmds.cmd_dict['tabopen'].signal.connect(mw.tabs.tabopen)
|
cmds.cmd_dict['tabopen'].signal.connect(mw.tabs.tabopen)
|
||||||
cmds.cmd_dict['quit'].signal.connect(QApplication.closeAllWindows) # FIXME
|
cmds.cmd_dict['quit'].signal.connect(QApplication.closeAllWindows) # FIXME
|
||||||
kp.from_cmd_dict(cmds.cmd_dict, mw.tabs)
|
kp.from_cmd_dict(cmds.cmd_dict, mw)
|
||||||
mw.show()
|
mw.show()
|
||||||
|
|
||||||
sys.exit(app.exec_())
|
sys.exit(app.exec_())
|
||||||
|
Loading…
Reference in New Issue
Block a user