When the OK button in the component preset dialog is pressed without selecting an...
authorkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Wed, 29 Aug 2012 13:48:32 +0000 (13:48 +0000)
committerkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Wed, 29 Aug 2012 13:48:32 +0000 (13:48 +0000)
commit6d529f8d25f6ac7a24765323958449a191aff950
tree4942eda126461e3849083aff341a0d06d8022cee
parent21cc3bd6fe5c86fa4bbe073d549eb8dc171ce1ae
When the OK button in the component preset dialog is pressed without selecting an item, don't change the current preset for the component.  This was reported as an IndexOutOfBounds exception.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@1007 180e2498-e6e9-4542-8430-84ac67f01cd8
core/src/net/sf/openrocket/gui/dialogs/preset/ComponentPresetChooserDialog.java