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:
parent
6bbea7d075
commit
5f5ee11004
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user