mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
Change name of action key
This commit is contained in:
parent
aff667ea54
commit
6d2fd44931
@ -109,8 +109,8 @@ public class DataResultTopComponent extends TopComponent implements DataResult,
|
||||
|
||||
setTitle(title); // set the title
|
||||
setName(title);
|
||||
getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke(KeyEvent.VK_B, InputEvent.CTRL_MASK), "addTag");
|
||||
getActionMap().put("addTag", new BookmarkFileAction());
|
||||
getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke(KeyEvent.VK_B, InputEvent.CTRL_MASK), "addBookmarkTag");
|
||||
getActionMap().put("addBookmarkTag", new BookmarkFileAction());
|
||||
|
||||
putClientProperty(TopComponent.PROP_CLOSING_DISABLED, isMain); // set option to close compoment in GUI
|
||||
putClientProperty(TopComponent.PROP_MAXIMIZATION_DISABLED, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user