[ 1670847 ] Find dialog: closing and canceling need same functionality

This commit is contained in:
teo_sarca 2007-02-28 13:47:18 +00:00
parent 1e8c7efa36
commit 9e4ff92e7e
1 changed files with 7 additions and 0 deletions

View File

@ -290,6 +290,13 @@ public final class Find extends CDialog
JButton b = ConfirmPanel.createNewButton(true);
confirmPanelS.addComponent (b);
b.addActionListener(this);
// teo_sarca, [ 1670847 ] Find dialog: closing and canceling need same functionality
addWindowListener(new WindowAdapter() {
@Override
public void windowClosing(WindowEvent e) {
cmd_cancel();
}
});
} // jbInit
/**