Commit d739c5c1 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Give focus back to scene when using Vi-search

parent 4c2051fc
......@@ -1808,6 +1808,7 @@ class OG_MainWindow(QtGui.QMainWindow, object):
if command.startswith('/') and len(command) > 1:
LOG.debug('Searching for ' + command[1:])
self.view.scene().search(command[1:])
self.view.setFocus()
else:
saveclose = re.compile(r':(w)?(q)?(!)?')
try:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment