Skip to content

Commit 4477a13

Browse files
LinusDietzSiedlerchr
authored andcommitted
Fix double paste (#5210)
1 parent 470aa95 commit 4477a13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/jabref/gui/JabRefFrame.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1240,7 +1240,7 @@ public void execute() {
12401240
textInput.cut();
12411241
break;
12421242
case PASTE:
1243-
textInput.paste();
1243+
// handled by FX in TextInputControl#paste
12441244
break;
12451245
default:
12461246
throw new IllegalStateException("Only cut/copy/paste supported but got " + command);
@@ -1255,7 +1255,7 @@ public void execute() {
12551255
getCurrentBasePanel().cut();
12561256
break;
12571257
case PASTE:
1258-
getCurrentBasePanel().paste();
1258+
// handled by FX in TextInputControl#paste
12591259
break;
12601260
default:
12611261
throw new IllegalStateException("Only cut/copy/paste supported but got " + command);

0 commit comments

Comments
 (0)