Skip to content

Commit 045a638

Browse files
committed
qtvcp -fix embedding into AXIS gui.
code for embedding qtvcp into qtvcp screens, was run on qtvcp panels being embedded in AXIS. Now we decide which tyoe it is by looking for 'loadusr' That is only used for embedding into AXIS (so far)
1 parent a821a6e commit 045a638

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/python/qtvcp/qt_makepins.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ def __init__(self, halcomp, path, window, debug):
8282
if INFO.TAB_CMDS:
8383
for name, loc, cmd in INFO.ZIPPED_TABS:
8484
# install a QTvcp panel instance
85-
if 'qtvcp' in cmd:
85+
# if 'loadusr' is present, it's assumed embedding into AXIS
86+
# so ignore it.
87+
if 'qtvcp' in cmd and not 'loadusr' in cmd:
8688
cmd = cmd.split()[1]
8789
LOG.info('green<QTVCP: Found external qtvcp {} panel to instantiate>'.format(cmd))
8890

0 commit comments

Comments
 (0)