diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-02-14 19:46:59 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-02-14 19:46:59 +1300 |
commit | d6f8abaf76e782100163cda162aeae80a8a5789d (patch) | |
tree | 65b24a42c8138976a6f0bd56d20c5b0ead51fc77 /src | |
parent | 80473fa44324799dff72577b7c352111a424bdf7 (diff) | |
download | trackermap-web-d6f8abaf76e782100163cda162aeae80a8a5789d.tar.gz trackermap-web-d6f8abaf76e782100163cda162aeae80a8a5789d.tar.bz2 trackermap-web-d6f8abaf76e782100163cda162aeae80a8a5789d.zip |
Fixed combo box selection (fix #2)
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/web/client/view/ArchiveView.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/org/traccar/web/client/view/ArchiveView.java b/src/org/traccar/web/client/view/ArchiveView.java index 1b4dbce8..67b57503 100644 --- a/src/org/traccar/web/client/view/ArchiveView.java +++ b/src/org/traccar/web/client/view/ArchiveView.java @@ -175,10 +175,7 @@ public class ArchiveView implements SelectionChangedEvent.SelectionChangedHandle public void onAnything() { Device oldDevice = deviceCombo.getValue(); if (oldDevice != null) { - Device newDevice = deviceStore.findModel(oldDevice); - if (newDevice != null) { - deviceCombo.setValue(newDevice); - } + deviceCombo.setValue(deviceStore.findModel(oldDevice)); } } |