Include unit reset in reset preferences action
This commit is contained in:
parent
158aa58517
commit
15c7f3ebc2
@ -100,6 +100,8 @@ public class SwingPreferences extends net.sf.openrocket.startup.Preferences {
|
||||
root.node(NODENAME).removeNode();
|
||||
}
|
||||
PREFNODE = root.node(NODENAME);
|
||||
UnitGroup.resetDefaultUnits();
|
||||
storeDefaultUnits();
|
||||
log.info("Cleared preferences");
|
||||
} catch (BackingStoreException e) {
|
||||
throw new BugException("Unable to clear preference node", e);
|
||||
|
Loading…
x
Reference in New Issue
Block a user