Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
0f313ceb
Commit
0f313ceb
authored
Feb 19, 2009
by
Claes pwr46/data0/x4-6-0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix, connect from local plant navigator on attribute objects didn't work
parent
ab5c55be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
wb/lib/wb/src/wb_nav.cpp
wb/lib/wb/src/wb_nav.cpp
+10
-3
No files found.
wb/lib/wb/src/wb_nav.cpp
View file @
0f313ceb
...
...
@@ -782,7 +782,7 @@ ItemAttr::ItemAttr( Nav *nav, pwr_tObjid item_objid,
attr_idx
(
idx
),
type_id
(
attr_type_id
)
{
char
type_id_name
[
80
];
pwr_tOName
a
name
;
pwr_tOName
l
name
;
type
=
nav_eItemType_Attr
;
...
...
@@ -808,8 +808,8 @@ ItemAttr::ItemAttr( Nav *nav, pwr_tObjid item_objid,
brow_SetAnnotPixmap
(
node
,
0
,
nav
->
pixmap_attr
);
}
cdh_SuppressSuper
(
a
name
,
attr_name
);
brow_SetAnnotation
(
node
,
0
,
aname
,
strlen
(
a
name
));
cdh_SuppressSuper
(
l
name
,
attr_name
);
brow_SetAnnotation
(
node
,
0
,
lname
,
strlen
(
l
name
));
brow_SetAnnotation
(
node
,
1
,
type_id_name
,
strlen
(
type_id_name
));
brow_SetUserData
(
node
,
(
void
*
)
this
);
}
...
...
@@ -1793,6 +1793,13 @@ int Nav::get_select( pwr_sAttrRef *attrref, int *is_attr)
if
(
EVEN
(
sts
))
return
sts
;
*
is_attr
=
1
;
break
;
case
nav_eItemType_AttrObject
:
strcat
(
attr_str
,
"."
);
strcat
(
attr_str
,
((
ItemAttrObject
*
)
item
)
->
aname
);
sts
=
ldh_NameToAttrRef
(
ldhses
,
attr_str
,
attrref
);
if
(
EVEN
(
sts
))
return
sts
;
*
is_attr
=
1
;
break
;
case
nav_eItemType_AttrArray
:
strcat
(
attr_str
,
"."
);
strcat
(
attr_str
,
((
ItemAttrArray
*
)
item
)
->
aname
);
...
...
Write
Preview
Markdown
is supported
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