Status: New
Owner: ----

New issue 177 by When deleting a selected node using the keyboard <DEL> a selection change is not fired

What is the expected output? What do you see instead?
A selection change is done (see code below) but I also expect a selection
changed, because the selection changes if the node has been deleted by
keyboard action.
Instead no selection changed can be catched
     * Delete selection when delete key is pressed (if enabled).
     * @param e the key press event
    public void keyPressed(final PInputEvent e) {
        if (e.getKeyCode() == KeyEvent.VK_DELETE && deleteKeyActive) {
            final Iterator selectionEn = selection.keySet().iterator();
            while (selectionEn.hasNext()) {
                final PNode node = (PNode);
// The following code is my change to make it run; possible solution?
//            postSelectionChanged();

What version of the product are you using? On what operating system?
1.2.1 and 1.3
Windows Vista

Please provide any additional information below.

You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:

Piccolo2D Developers Group:

Reply via email to