Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-975: Fixed embarassing table column mistake

Dan447ea93b35ea
diff --git a/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/gui/console/DebuggerConsoleProvider.java b/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/gui/console/DebuggerConsoleProvider.java
index 9fb446e832..c1a7927e85 100644
--- a/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/gui/console/DebuggerConsoleProvider.java
+++ b/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/gui/console/DebuggerConsoleProvider.java
@@ -253,7 +253,8 @@ public class DebuggerConsoleProvider extends ComponentProviderAdapter
protected int computePreferredHeight(int r, int c) {
TableCellRenderer renderer = getCellRenderer(r, c);
if (renderer instanceof ConsoleActionsCellRenderer) {
- ActionList actions = (ActionList) getModel().getValueAt(r, c);
+ ActionList actions =
+ (ActionList) getModel().getValueAt(r, convertColumnIndexToModel(c));
if (!actions.isEmpty()) {
return ACTION_BUTTON_SIZE;
}