Skip to content

Commit

Permalink
Expicitly dispose frame in SX popup after OK click
Browse files Browse the repository at this point in the history
(cherry picked from commit 5ab64c9)
  • Loading branch information
balmma authored and RaiMan committed Nov 21, 2019
1 parent 14becd8 commit 5484489
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions API/src/main/java/org/sikuli/script/SX.java
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ public void windowOpened(WindowEvent e) {
}

synchronized(this) {
dispose(); // needs to be here, frame is not always closed properly otherwise
this.notify();
}
}
Expand Down

0 comments on commit 5484489

Please sign in to comment.