← Back to team overview

sikuli-driver team mailing list archive

[Bug 1239738] [NEW] Pattern Windows "X" button does not work

 

Public bug reported:

Hello RaiMan,

The dialog Pattern Settings doesn't do anything with the "X" button. I
hoped that it would simply close the window the same way as the cancel
button.

Solution:

org.sikuli.ide.PatternWindow.init(EditorPatternButton imgBtn, boolean
exact, float similarity, int numMatches) add the following code:

addWindowListener(new java.awt.event.WindowAdapter() {
		    public void windowClosing(WindowEvent winEvt) {
		        close(); 
		    }
		});

** Affects: sikuli
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1239738

Title:
  Pattern Windows "X" button does not work

Status in Sikuli:
  New

Bug description:
  Hello RaiMan,

  The dialog Pattern Settings doesn't do anything with the "X" button. I
  hoped that it would simply close the window the same way as the cancel
  button.

  Solution:

  org.sikuli.ide.PatternWindow.init(EditorPatternButton imgBtn, boolean
  exact, float similarity, int numMatches) add the following code:

  addWindowListener(new java.awt.event.WindowAdapter() {
  		    public void windowClosing(WindowEvent winEvt) {
  		        close(); 
  		    }
  		});

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1239738/+subscriptions


Follow ups

References