mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 06:50:54 +07:00
[log] IJPL-159496 Fix right-click handled as left-click when clicking graph in log
Left-click action was performed along with showing the context menu GitOrigin-RevId: 76f14cb3a4daa0427b2174b7c4ea81e0207949fe
This commit is contained in:
committed by
intellij-monorepo-bot
parent
fb4e6e078e
commit
4953b7542b
@@ -833,7 +833,8 @@ public class VcsLogGraphTable extends TableWithProgress
|
||||
if ((row >= 0 && row < getRowCount()) && e.getClickCount() == 1) {
|
||||
VcsLogCellController controller = getController(column);
|
||||
if (controller != null) {
|
||||
Cursor cursor = controller.performMouseClick(row, e);
|
||||
Cursor cursor =
|
||||
SwingUtilities.isLeftMouseButton(e) ? controller.performMouseClick(row, e) : null;
|
||||
handleCursor(cursor);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user