mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GT-2886 - fixed NPE when trying to beep
This commit is contained in:
parent
146a83f953
commit
2f58ec7b47
8 changed files with 53 additions and 39 deletions
|
@ -86,8 +86,7 @@ public class FGClipboardProvider extends CodeBrowserClipboardProvider {
|
|||
if (msg == null) {
|
||||
msg = e.toString();
|
||||
}
|
||||
tool.setStatusInfo("Copy failed: " + msg);
|
||||
tool.getToolFrame().getToolkit().beep();
|
||||
tool.setStatusInfo("Copy failed: " + msg, true);
|
||||
}
|
||||
|
||||
return null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue