提交 9a367b38 编写于 作者: S Serge Rider

#10086 Process node actions only on the left click

上级 a48efd48
......@@ -215,7 +215,7 @@ public class DatabaseNavigatorTree extends Composite implements INavigatorListen
}
private void onItemMouseDown(Tree tree, Event event, boolean defaultAction) {
if (itemRenderer != null) {
if (itemRenderer != null && event.button == 1) {
TreeItem item = tree.getItem(new Point(event.x, event.y));
if (item != null) {
Object element = item.getData();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册