Skip to content

Commit

Permalink
Keyboard shortcut for "Reset logs" - fixed #78
Browse files Browse the repository at this point in the history
  • Loading branch information
mlopatkin committed Nov 3, 2011
1 parent bc2eef2 commit d25f893
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/org/bitbucket/mlopatkin/android/logviewer/MainFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d25f893

Please sign in to comment.