Don't ever leave the keys grabbed.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3453 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -85,6 +85,15 @@ public abstract class PuzzlePanel extends JPanel
|
||||
setPuzzleGrabsKeys(false);
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
public void removeNotify ()
|
||||
{
|
||||
super.removeNotify();
|
||||
|
||||
// don't ever leave with the keys grabbed
|
||||
setPuzzleGrabsKeys(false);
|
||||
}
|
||||
|
||||
/**
|
||||
* Temporarily replaces the puzzle board display with the supplied
|
||||
* overlay panel. The panel can be removed and the board display
|
||||
|
||||
Reference in New Issue
Block a user