mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-30 12:31:13 +08:00
GP-6299: Bail from getPreviousLayout if there are no layouts.
This commit is contained in:
+3
@@ -196,6 +196,9 @@ public class AnchoredLayoutHandler {
|
||||
if (layout != null) {
|
||||
return new AnchoredLayout(layout, index, yPos - layout.getHeight());
|
||||
}
|
||||
if (layouts.isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user