mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
Test fixes
This commit is contained in:
parent
cc1228bdaa
commit
b04ff770b3
6 changed files with 24 additions and 14 deletions
|
@ -218,7 +218,7 @@ class DockableToolBarManager {
|
|||
}
|
||||
|
||||
// don't allow the last component in a window to be closed to prevent an empty window
|
||||
return !dwm.isLastComponentInWindow(provider);
|
||||
return dwm != null && !dwm.isLastComponentInWindow(provider);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue