Fix [ 1889924 ] Runtime change of VFormat don't allow to clear
This commit is contained in:
parent
9a9eeda926
commit
bab71c39fe
|
@ -939,7 +939,9 @@ public class GridController extends CPanel
|
|||
*/
|
||||
if (comp instanceof VString){
|
||||
VString vs = (VString)comp;
|
||||
if(!vs.getVFormat().equals(mField.getVFormat()) && mField.getVFormat() != null){
|
||||
if ((vs.getVFormat() != null && mField.getVFormat() == null)
|
||||
|| (vs.getVFormat() == null && mField.getVFormat() != null)
|
||||
|| (vs.getVFormat() != null && !vs.getVFormat().equals(mField.getVFormat()))) {
|
||||
vs.setVFormat(mField.getVFormat());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue