mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-24 13:21:22 +08:00
GP-6087 - Fixed structure editor bug that caused the selected row to
move on the screen
This commit is contained in:
+1
-1
@@ -247,6 +247,7 @@ public abstract class CompositeEditorPanel<T extends Composite, M extends Compos
|
||||
}
|
||||
|
||||
table.getSelectionModel().setSelectionInterval(row, row);
|
||||
showSelectedRow();
|
||||
}
|
||||
|
||||
private int findRowForFieldName(String fieldName) {
|
||||
@@ -578,7 +579,6 @@ public abstract class CompositeEditorPanel<T extends Composite, M extends Compos
|
||||
}
|
||||
|
||||
model.setSelection(table.getSelectedRows());
|
||||
showSelectedRow();
|
||||
});
|
||||
|
||||
table.getColumnModel().getSelectionModel().addListSelectionListener(e -> {
|
||||
|
||||
Reference in New Issue
Block a user