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:
Michael Bayne
2005-04-01 01:05:40 +00:00
parent c0430e3131
commit 934a596bfa
@@ -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