File tree Expand file tree Collapse file tree 3 files changed +2
-2
lines changed
src/main/java/kohgylw/kiftd/ui/util
META-INF/maven/kohgylw/kiftd Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ protected void setValue(Object value) {
286286 * @return Object 被双击的项目,如果是文件夹则返回Folder对象,如果是文件则返回Node对象。如果非双击操作则返回null。
287287 */
288288 public Object getDoubleClickItem (MouseEvent e ) {
289- if (e .getClickCount () == 2 ) {
289+ if (e .getButton () == MouseEvent . BUTTON1 && e . getClickCount () == 2 ) {
290290 int row = rowAtPoint (e .getPoint ());
291291 if (row >= 0 && row < folders .size ()) {
292292 return folders .get (row );
Original file line number Diff line number Diff line change 11# Generated by Maven Integration for Eclipse
2- # Fri Dec 29 23:07:37 CST 2023
2+ # Fri Dec 29 23:20:32 CST 2023
33m2e.projectLocation =/Users/kohgylw/Programs/java_workspace/kiftd
44m2e.projectName =kiftd
55groupId =kohgylw
You can’t perform that action at this time.
0 commit comments