mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-31 20:33:11 +08:00
GP-975: Fixed embarassing table column mistake
This commit is contained in:
+2
-1
@@ -253,7 +253,8 @@ public class DebuggerConsoleProvider extends ComponentProviderAdapter
|
|||||||
protected int computePreferredHeight(int r, int c) {
|
protected int computePreferredHeight(int r, int c) {
|
||||||
TableCellRenderer renderer = getCellRenderer(r, c);
|
TableCellRenderer renderer = getCellRenderer(r, c);
|
||||||
if (renderer instanceof ConsoleActionsCellRenderer) {
|
if (renderer instanceof ConsoleActionsCellRenderer) {
|
||||||
ActionList actions = (ActionList) getModel().getValueAt(r, c);
|
ActionList actions =
|
||||||
|
(ActionList) getModel().getValueAt(r, convertColumnIndexToModel(c));
|
||||||
if (!actions.isEmpty()) {
|
if (!actions.isEmpty()) {
|
||||||
return ACTION_BUTTON_SIZE;
|
return ACTION_BUTTON_SIZE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user