smart window placement
[fanfix.git] / src / jexer / menu / TMenu.java
index a0a978651511e2a93d04151870c4cf236c278d6e..6d89647a6f459c9eb35df1badd79ee14ceccdb7e 100644 (file)
@@ -113,9 +113,6 @@ public final class TMenu extends TWindow {
         super(parent, label, x, y, parent.getScreen().getWidth(),
             parent.getScreen().getHeight());
 
-        // My parent constructor added me as a window, get rid of that
-        parent.closeWindow(this);
-
         // Setup the menu shortcut
         mnemonic = new MnemonicString(label);
         setTitle(mnemonic.getRawLabel());