mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 06:40:47 +00:00
Fixed: Hex View - incorrect table height when switching tags
This commit is contained in:
@@ -200,7 +200,10 @@ public class HexView extends JTable {
|
||||
int row = table.rowAtPoint(point);
|
||||
int idx = getIdxByColAndRow(row, col);
|
||||
mouseOverIdx = idx;
|
||||
getModel().fireTableCellUpdated(row, col);
|
||||
|
||||
if (row > -1 && col > -1) {
|
||||
getModel().fireTableCellUpdated(row, col);
|
||||
}
|
||||
|
||||
if (listener != null) {
|
||||
listener.byteMouseMoved(idx, idx == -1 ? 0 : getModel().getData()[idx]);
|
||||
|
||||
@@ -83,6 +83,7 @@ public class HexViewTableModel extends AbstractTableModel {
|
||||
|
||||
public void setData(byte[] data) {
|
||||
this.data = data;
|
||||
fireTableDataChanged();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user