[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[ice-build] [eclipse/ice] 882479: Made EntryComposite.setEntryValue(...) more robust...
|
Branch: refs/heads/master
Home: https://github.com/eclipse/ice
Commit: 88247943ac1c3641c9105ba7d3c73a6aaf5800db
https://github.com/eclipse/ice/commit/88247943ac1c3641c9105ba7d3c73a6aaf5800db
Author: Anna Wojtowicz <wojtowicza@xxxxxxxx>
Date: 2015-05-27 (Wed, 27 May 2015)
Changed paths:
M src/org.eclipse.ice.client.widgets/src/org/eclipse/ice/client/widgets/EntryComposite.java
Log Message:
-----------
Made EntryComposite.setEntryValue(...) more robust in the case that the
parameter passed in is null. It will now first check if the Entry type
is Discrete, and if it is, sets the value to the first allowed value if
there is one (if there is no allowed values at all, it does nothing, as
there's nothing to be done). For all other Entry types, it sets the
Entry's default value (which will always be at least an empty string).
Fixes bug 468472.
Signed-off-by: Anna Wojtowicz <wojtowicza@xxxxxxxx>