mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
GT-3179 - Help - review fixes
This commit is contained in:
parent
05b23fb9b4
commit
982c63f488
3 changed files with 16 additions and 5 deletions
|
@ -1830,7 +1830,11 @@ public class DockingWindowManager implements PropertyChangeListener, Placeholder
|
|||
|
||||
Component c = parent;
|
||||
while (c != null) {
|
||||
if (c instanceof Window) {
|
||||
// Note: using a Frame here means that we will not find and use a dialog that is a
|
||||
// parent of 'c' if it itself is parented to a Frame. The issue is that
|
||||
// Use Case 'C' above may not work correctly. If we find that to be the case,
|
||||
// then we can try changing 'Frame' to 'Window' here.
|
||||
if (c instanceof Frame) {
|
||||
return (Window) c;
|
||||
}
|
||||
c = c.getParent();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue