Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
d739c5c1
Commit
d739c5c1
authored
Oct 14, 2014
by
Maxime Perrotin
Browse files
Give focus back to scene when using Vi-search
parent
4c2051fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
opengeode.py
View file @
d739c5c1
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment