|
@@ -126,14 +126,14 @@ public class NodeLabel extends JPanel implements SelectionListener,
|
126
|
126
|
|
127
|
127
|
@Handler
|
128
|
128
|
public void iconChanged(final FrameIconChangedEvent event) {
|
129
|
|
- if (equals(window)) {
|
|
129
|
+ if (equals(event.getContainer())) {
|
130
|
130
|
icon.setIcon(window.getIconManager().getIcon(event.getIcon()));
|
131
|
131
|
}
|
132
|
132
|
}
|
133
|
133
|
|
134
|
134
|
@Handler
|
135
|
135
|
public void nameChanged(final FrameNameChangedEvent event) {
|
136
|
|
- if (equals(window)) {
|
|
136
|
+ if (equals(event.getContainer())) {
|
137
|
137
|
text.setText(event.getName());
|
138
|
138
|
}
|
139
|
139
|
}
|