Connect signals properly
This commit is contained in:
parent
0250f61b8a
commit
1d88bb7c9c
@ -9,9 +9,9 @@ def main():
|
|||||||
mw = MainWindow()
|
mw = MainWindow()
|
||||||
cp = cmds.CommandParser()
|
cp = cmds.CommandParser()
|
||||||
mw.status.cmd.got_cmd.connect(cp.parse)
|
mw.status.cmd.got_cmd.connect(cp.parse)
|
||||||
cmds.cmd_dict['openurl'].connect(mw.tabs.openurl)
|
cmds.cmd_dict['open'].signal.connect(mw.tabs.openurl)
|
||||||
cmds.cmd_dict['tabopen'].connect(mw.tabs.tabopen)
|
cmds.cmd_dict['tabopen'].signal.connect(mw.tabs.tabopen)
|
||||||
cmds.cmd_dict['quit'].connect(QApplication.closeAllWindows) # FIXME
|
cmds.cmd_dict['quit'].signal.connect(QApplication.closeAllWindows) # FIXME
|
||||||
mw.show()
|
mw.show()
|
||||||
|
|
||||||
sys.exit(app.exec_())
|
sys.exit(app.exec_())
|
||||||
|
Loading…
Reference in New Issue
Block a user