Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Instrument Control
Protos
Nomad 3D
nomad-3d-editor
Commits
0ecc914f
Commit
0ecc914f
authored
Mar 05, 2019
by
legoc
Browse files
Simplified unselect all
parent
1b5c92e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/fr/ill/ics/n3d/gui/EditorMenuBar.java
View file @
0ecc914f
...
...
@@ -2554,9 +2554,11 @@ public class EditorMenuBar extends MenuBar {
@Override
public
void
handle
(
ActionEvent
event
)
{
System
.
out
.
println
(
"Unselect all..."
);
List
<
Component
>
selectedComponents
=
Nomad3DEditor
.
getInstance
().
getModel
().
getSelection
(
);
updateScene
();
for
(
Component
component
:
selectedComponents
)
{
component
.
getTreeItem
().
selectedProperty
().
set
(
false
);
}
}
});
...
...
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