mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
fixed unit tests
This commit is contained in:
parent
3e35b4d4a7
commit
70605745c0
1 changed files with 4 additions and 1 deletions
|
@ -441,12 +441,15 @@ public class DockableComponent extends JPanel implements ContainerListener {
|
|||
}
|
||||
|
||||
@Override
|
||||
// we aren't focusable, so pass focus to a valid child component
|
||||
public void requestFocus() {
|
||||
if (lastFocusedComponent != null && lastFocusedComponent.isShowing()) {
|
||||
lastFocusedComponent.requestFocus();
|
||||
return;
|
||||
}
|
||||
|
||||
if (placeholder == null) {
|
||||
return; // this implies we have been disposed
|
||||
}
|
||||
placeholder.getProvider().requestFocus();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue