Skip to content
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.

Quantity not Editable in property View for Upgrades #54

Closed
kingargyle opened this issue Oct 31, 2017 · 1 comment
Closed

Quantity not Editable in property View for Upgrades #54

kingargyle opened this issue Oct 31, 2017 · 1 comment
Milestone

Comments

@kingargyle
Copy link
Collaborator

Reported by Gold Squadron, the property for Quantity on the upgrade is not editable. When clicking on the property you can't edit it, and it makes the app appear to be locked.

@kingargyle kingargyle added this to the V0.7.0 milestone Oct 31, 2017
kingargyle added a commit that referenced this issue Oct 31, 2017
To address the issue of Numeric fields not being editable
create a NumericCellEditor that can be used and a
NumericPropertyDescriptor.   This will correctly allow
all numeric fields to be editable and will return Integer
values for the inputs.  For this application that is all that
is necessary, but could easily be expanded to Floats, Doubles,
and other integer formats.
@kingargyle
Copy link
Collaborator Author

Created a new NumericPropertyDescriptor and NumericCellEditor based off the code from here:

http://www.massapi.com/source/sourceforge/95/62/956243677/hidb2-code/HIDB2/src/hidb2/gui/util/NumericCellEditor.java.html

Changed the code so that it only handles Integers which is all we want to deal with.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant