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
7723afca
Commit
7723afca
authored
Aug 07, 2016
by
Maxime Perrotin
Browse files
Fix item highlight
parent
c2860d2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
opengeode/opengeode.py
View file @
7723afca
...
...
@@ -1925,10 +1925,10 @@ class SDL_View(QtGui.QGraphicsView, object):
symbol
=
self
.
scene
().
symbol_near
(
pos
=
pos
,
dist
=
1
)
if
symbol
:
self
.
scene
().
clearSelection
()
self
.
clear_highlight
()
self
.
scene
().
clear_highlight
()
self
.
scene
().
clear_focus
()
symbol
.
select
()
self
.
highlight
(
symbol
)
self
.
scene
().
highlight
(
symbol
)
symbol
.
ensureVisible
()
else
:
LOG
.
info
(
'No symbol at given coordinates in the current scene'
)
...
...
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