mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-07-30 07:18:37 -09:00
Merge remote-tracking branch 'origin/GP-6781_Dan_fixSnapshotTableNPE'
This commit is contained in:
@@ -176,8 +176,12 @@ public class DebuggerSnapshotTablePanel extends JPanel {
|
||||
|
||||
SnapshotTableModel model;
|
||||
|
||||
Font lastFixedWidthFont;
|
||||
Font fixedWidthBoldFont;
|
||||
Font fixedWidthItalicFont;
|
||||
|
||||
protected TimeRadix getTimeRadix() {
|
||||
Trace trace = model.getTrace();
|
||||
Trace trace = model == null ? null : model.getTrace();
|
||||
return trace == null ? TimeRadix.DEFAULT : trace.getTimeManager().getTimeRadix();
|
||||
}
|
||||
|
||||
@@ -212,10 +216,6 @@ public class DebuggerSnapshotTablePanel extends JPanel {
|
||||
};
|
||||
}
|
||||
|
||||
Font lastFixedWidthFont;
|
||||
Font fixedWidthBoldFont;
|
||||
Font fixedWidthItalicFont;
|
||||
|
||||
Font computePlainFont(GTableCellRenderingData data) {
|
||||
return data.getValue() instanceof Address ? getFixedWidthFont() : getDefaultFont();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user