Merge "ASM #628 - Fixed Crest time" into asm_14.4.1

Former-commit-id: 47ddfd8c69 [formerly 47ddfd8c69 [formerly 909dba375f65ef5d1a9b984758f049728e1d4700]]
Former-commit-id: ac47f1ca21
Former-commit-id: df7780490d
This commit is contained in:
Juliya Dynina 2014-12-10 15:13:54 -05:00 committed by Gerrit Code Review
commit d44b8793cb

View file

@ -72,6 +72,9 @@ import com.raytheon.viz.ui.dialogs.CaveSWTDialog;
* Also see https://bugs.eclipse.org/bugs/show_bug.cgi?id=43004 * Also see https://bugs.eclipse.org/bugs/show_bug.cgi?id=43004
* Jul 11, 2013 2088 rferrel Make dialog non-blocking. * Jul 11, 2013 2088 rferrel Make dialog non-blocking.
* *
* Dec 10, 2014 16061 lbousaidi set the crest time to the correct value for a
* new record,also fixed the sorting to match the correct
* timecrest.
* *
* </pre> * </pre>
* *
@ -401,6 +404,8 @@ public class CrestHistoryDlg extends CaveSWTDialog implements
public void widgetSelected(SelectionEvent event) { public void widgetSelected(SelectionEvent event) {
sortCrestHistoryList(); sortCrestHistoryList();
updateCrestHistoryList(); updateCrestHistoryList();
crestHistoryList.setSelection(0);
setSelectedCrest(crestHistoryData.getCrestDataArray().get(0));
} }
}); });
} }
@ -1006,7 +1011,7 @@ public class CrestHistoryDlg extends CaveSWTDialog implements
suppressChk.setSelection(false); suppressChk.setSelection(false);
iceJamChk.setSelection(false); iceJamChk.setSelection(false);
statusCbo.select(3); statusCbo.select(0);
remarksTF.setText(""); remarksTF.setText("");
} }