Set keyboard focus after command

This commit is contained in:
Florian Bruhin 2014-01-16 21:59:50 +01:00
parent a691cc10af
commit 6eaf719298

View File

@ -9,6 +9,7 @@ def main():
mw = MainWindow()
cp = cmds.CommandParser()
mw.status.cmd.got_cmd.connect(cp.parse)
mw.status.cmd.got_cmd.connect(mw.setFocus)
cmds.cmd_dict['open'].signal.connect(mw.tabs.openurl)
cmds.cmd_dict['tabopen'].signal.connect(mw.tabs.tabopen)
cmds.cmd_dict['quit'].signal.connect(QApplication.closeAllWindows) # FIXME