Fixed a bug in the user data dialog box, when values were not populated when using a custom UserData class
This commit is contained in:
parent
51215a352e
commit
6ec736c005
@ -12,6 +12,7 @@
|
|||||||
</Properties>
|
</Properties>
|
||||||
<SyntheticProperties>
|
<SyntheticProperties>
|
||||||
<SyntheticProperty name="formSizePolicy" type="int" value="1"/>
|
<SyntheticProperty name="formSizePolicy" type="int" value="1"/>
|
||||||
|
<SyntheticProperty name="generateCenter" type="boolean" value="false"/>
|
||||||
</SyntheticProperties>
|
</SyntheticProperties>
|
||||||
<AuxValues>
|
<AuxValues>
|
||||||
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="1"/>
|
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="1"/>
|
||||||
|
@ -137,8 +137,8 @@ public class UserDataDialog extends javax.swing.JDialog {
|
|||||||
try {
|
try {
|
||||||
|
|
||||||
prop = new SceneExplorerProperty(obj.getClass().cast(obj), returntype, method, setter);
|
prop = new SceneExplorerProperty(obj.getClass().cast(obj), returntype, method, setter);
|
||||||
|
|
||||||
prop.setName(name);
|
prop.setName(name);
|
||||||
|
((SceneExplorerProperty)prop).syncValue();
|
||||||
|
|
||||||
} catch (NoSuchMethodException ex) {
|
} catch (NoSuchMethodException ex) {
|
||||||
Exceptions.printStackTrace(ex);
|
Exceptions.printStackTrace(ex);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user