From d25f893b797b22cf785dd542a532cacb15fb05f0 Mon Sep 17 00:00:00 2001 From: Mikhail Lopatkin Date: Thu, 3 Nov 2011 14:54:39 +0900 Subject: [PATCH] Keyboard shortcut for "Reset logs" - fixed #78 --- src/org/bitbucket/mlopatkin/android/logviewer/MainFrame.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/org/bitbucket/mlopatkin/android/logviewer/MainFrame.java b/src/org/bitbucket/mlopatkin/android/logviewer/MainFrame.java index 1b338aae..9f4209a9 100644 --- a/src/org/bitbucket/mlopatkin/android/logviewer/MainFrame.java +++ b/src/org/bitbucket/mlopatkin/android/logviewer/MainFrame.java @@ -422,6 +422,9 @@ public void onDialogResult(SelectDeviceDialog dialog, IDevice selectedDevice) { } private Action acResetLogs = new AbstractAction("Reset logs") { + { + putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke("control R")); + } @Override public void actionPerformed(ActionEvent e) {