mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-27 23:18:02 -04:00
pass the modified attributes to the editors
This commit is contained in:
parent
5518310bd2
commit
65c6fbebf2
@ -71,9 +71,9 @@ public class AttributeDialog extends JDialog {
|
||||
|
||||
topMostTextComponent = null;
|
||||
for (Key key : list) {
|
||||
Editor e = EditorFactory.INSTANCE.create(key, elementAttributes.get(key));
|
||||
Editor e = EditorFactory.INSTANCE.create(key, modifiedAttributes.get(key));
|
||||
editors.add(new EditorHolder(e, key));
|
||||
e.addToPanel(panel, key, elementAttributes, this);
|
||||
e.addToPanel(panel, key, modifiedAttributes, this);
|
||||
|
||||
if (topMostTextComponent == null && e instanceof EditorFactory.StringEditor)
|
||||
topMostTextComponent = ((EditorFactory.StringEditor) e).getTextComponent();
|
||||
|
Loading…
x
Reference in New Issue
Block a user