Omaha #3937 - Removed UELE - Index out of bounds.

Former-commit-id: da0d46ad81 [formerly c215b4c91b [formerly 039a382cf7a891cecdc7bbb1b0b5d83e02a7df13]]
Former-commit-id: c215b4c91b
Former-commit-id: 13ef257a0d
This commit is contained in:
Slav Korolev 2015-01-07 12:20:08 -05:00
parent cbc8c0d72d
commit f8dd337ebb

View file

@ -1301,6 +1301,9 @@ public abstract class MonitoringAreaConfigDlg extends CaveSWTDialog implements
* Handles the monitor area list selection. * Handles the monitor area list selection.
*/ */
private void handleMonitorAreaListSelection() { private void handleMonitorAreaListSelection() {
if (monitorAreaList.getSelectionIndex() == -1) {
return;
}
if (mode == Mode.Zone) { if (mode == Mode.Zone) {
String zone = monitorAreaList.getItem(monitorAreaList String zone = monitorAreaList.getItem(monitorAreaList
.getSelectionIndex()); .getSelectionIndex());