1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-22 15:58:52 -05:00

Disable default copy & paste support in panel selection list

This commit is contained in:
Reinhard Pointner 2019-02-16 21:48:50 +07:00
parent 6bbea7d075
commit 5f5ee11004

View File

@ -196,6 +196,9 @@ public class MainFrame extends JFrame {
setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
setBorder(createEmptyBorder(4, 5, 4, 5));
// disable default copy & paste support
setTransferHandler(null);
// initialize "drag over" panel selection
new DropTarget(this, new DragDropListener());
}