Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
90355dd8
Commit
90355dd8
authored
Mar 23, 2018
by
Maxime Perrotin
Browse files
Update context-dependent menu after pasting
to avoid forbidden symbol connections
parent
93a7c8ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
90355dd8
...
...
@@ -143,6 +143,7 @@ Changelog
2.
0.3 (03/2018)
-
Optimize calls to asn1scc
-
Fix paste error when input symbol is selected
2.
0.2 (03/2018)
-
Better support of ASN.1 constants
...
...
opengeode/opengeode.py
View file @
90355dd8
...
...
@@ -990,7 +990,7 @@ class SDL_Scene(QtGui.QGraphicsScene, object):
Paste previously copied symbols at selection point
'''
if
self
.
context
==
'process'
and
self
.
readonly
:
# with readonly flag, forbid item delet
t
ion
# with readonly flag, forbid item deletion
return
parent
=
list
(
self
.
selected_symbols
)
if
len
(
parent
)
>
1
:
...
...
@@ -1027,6 +1027,7 @@ class SDL_Scene(QtGui.QGraphicsScene, object):
item
.
cam
(
item
.
pos
(),
item
.
pos
())
self
.
undo_stack
.
endMacro
()
self
.
refresh
()
self
.
selectionChanged
.
emit
()
def
sdl_to_statechart
(
self
,
basic
=
True
,
view
=
None
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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