Merge "ASM #509 GFE: Product editor still auto-wraps when the option is turned off" into asm_14.3.1

Former-commit-id: 5a20085f32 [formerly 2052df4ca5f68165b477994b21357c245ff73546]
Former-commit-id: 576a2d63ec
This commit is contained in:
Matthew Howard 2014-05-13 07:49:18 -05:00 committed by Gerrit Code Review
commit 1026f04671

View file

@ -157,6 +157,7 @@ import com.raytheon.viz.ui.dialogs.ICloseCallback;
* aren't being corrected.
* 02/05/2014 17022 ryu Modified loadDraft() to fix merging of WMO heading and AWIPS ID.
* 03/25/2014 #2884 randerso Added xxxid to check for disabling editor
* 05/12/2014 16195 zhao Modified widgetSelected() for "Auto Wrap" option widget
*
* </pre>
*
@ -865,7 +866,8 @@ public class ProductEditorComp extends Composite implements
autoWrapMI.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
textComp.setAutoWrapMode(autoWrapMI.getSelection());
wrapMode = !wrapMode;
textComp.setAutoWrapMode(wrapMode);
}
});