diff options
Diffstat (limited to 'src/org/traccar/web/client/view/DeviceView.java')
-rw-r--r-- | src/org/traccar/web/client/view/DeviceView.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/org/traccar/web/client/view/DeviceView.java b/src/org/traccar/web/client/view/DeviceView.java index 5f6441b0..c3f3f7a3 100644 --- a/src/org/traccar/web/client/view/DeviceView.java +++ b/src/org/traccar/web/client/view/DeviceView.java @@ -134,4 +134,8 @@ public class DeviceView implements SelectionChangedEvent.SelectionChangedHandler }); } + public void selectDevice(Device device) { + grid.getSelectionModel().select(deviceStore.findModel(device), false); + } + } |