GP-975: Fixed embarassing table column mistake

This commit is contained in:
Dan 2021-05-19 15:32:56 -04:00
parent 6151af6cdf
commit 447ea93b35

View File

@ -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;
}