From 10fc63f10090a405f53929033be2cb7a0a30fc1e Mon Sep 17 00:00:00 2001 From: Jeremy Penner Date: Wed, 5 Oct 2011 17:55:30 -0400 Subject: [PATCH] create sprite if enter hit while editing sprite size --- whiteboard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/whiteboard.py b/whiteboard.py index 4134686..1de8cdd 100644 --- a/whiteboard.py +++ b/whiteboard.py @@ -724,9 +724,9 @@ class LobbyBoard(LobbyI): def CreateMiCmds(self): miTypeinBoard, miBtnNewBoard = self.MiTypein_MiButton("New Board", "BoardName", self.NewBoard) miTypeinSpr, miBtnNewSpr = self.MiTypein_MiButton("New Sprite", "SpriteName", self.NewSprite) - miTypeinW = MiTypein(None, "w") + miTypeinW = MiTypein(self.NewSprite, "w") miTypeinW.SetValue("1") - miTypeinH = MiTypein(None, "h") + miTypeinH = MiTypein(self.NewSprite, "h") miTypeinH.SetValue("1") self.miDimensions = MiMenuHoriz([MiStatic("W:"), miTypeinW, MiStatic("H:"), miTypeinH])