mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 09:17:42 +00:00
quick fix
This commit is contained in:
parent
418cffa979
commit
b7ba4d64a0
@ -314,7 +314,8 @@ public class CellModelTableCellRenderer extends DefaultTableCellRenderer {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void mouseClicked(CellMouseEvent cellEvent) {
|
public void mouseClicked(CellMouseEvent cellEvent) {
|
||||||
if (cellEvent.getCellValue() instanceof CellModel) {
|
if (cellEvent.getCellValue() instanceof CellModel && cellEvent.getMouseEvent().getButton() != MouseEvent.BUTTON1) {
|
||||||
|
cellEvent.getTable().setRowSelectionInterval(cellEvent.getRow(), cellEvent.getRow());
|
||||||
CellModel cellModel = (CellModel) cellEvent.getCellValue();
|
CellModel cellModel = (CellModel) cellEvent.getCellValue();
|
||||||
List<MenuItem> menuItems = cellModel.getPopupMenu();
|
List<MenuItem> menuItems = cellModel.getPopupMenu();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user