Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityDoctor
CityDoctor2
Commits
9e65baa7
Commit
9e65baa7
authored
5 months ago
by
Riegel
Browse files
Options
Download
Email Patches
Plain Diff
Fix Opening treenode text color bug
parent
43f226db
master
107-opengl-view
dev
dev_cpp_code_conversion
dev_gui_features
dev_gui_features_zip_loading
3.16.0
archive/dev_gui_features_zip_loading
archive/dev_citygml3
2 merge requests
!11
CityDoctor Release Version 3.16.0
,
!10
CityGML 3.0. Support
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/tree/AllOpeningsNode.java
+13
-5
...e/hft/stuttgart/citydoctor2/gui/tree/AllOpeningsNode.java
with
13 additions
and
5 deletions
+13
-5
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/tree/AllOpeningsNode.java
+
13
-
5
View file @
9e65baa7
...
...
@@ -16,13 +16,21 @@ public class AllOpeningsNode extends Renderable {
@Override
public
void
refreshTextColor
()
{
for
(
Opening
bp
:
openings
)
{
if
(
bp
.
containsAnyError
())
{
setStatus
(
CheckStatus
.
ERROR
);
return
;
boolean
wasChecked
=
false
;
for
(
Opening
op
:
openings
)
{
if
(
op
.
isValidated
())
{
wasChecked
=
true
;
if
(
op
.
containsAnyError
())
{
setStatus
(
CheckStatus
.
ERROR
);
return
;
}
}
}
setStatus
(
CheckStatus
.
OK
);
if
(
wasChecked
)
{
setStatus
(
CheckStatus
.
OK
);
}
else
{
setStatus
(
CheckStatus
.
NOT_CHECKED
);
}
}
@Override
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets