mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-25 17:00:36 -09:00
Merge branch 'GP-0_ghidragon_test_fixes'
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user