mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 01:32:08 +10:00
Double click in the project explorer to edit selected component
This commit is contained in:
@@ -180,6 +180,13 @@ public class ExplorerPane extends JPanel {
|
||||
|
||||
private MouseEvent pressedEvent;
|
||||
|
||||
@Override
|
||||
public void mouseClicked(MouseEvent e) {
|
||||
if (e.getClickCount() == 2) {
|
||||
plugInPort.editSelection();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void mousePressed(MouseEvent e) {
|
||||
componentList.requestFocus();
|
||||
|
||||
Reference in New Issue
Block a user