Mercurial > libervia-web
diff browser_side/panels.py @ 39:305e81c7a32c
Tarot game: a game can now be finished
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 22 May 2011 00:15:01 +0200 |
parents | 7bea2ae0c4fb |
children | a7ff1e6f1229 |
line wrap: on
line diff
--- a/browser_side/panels.py Thu May 19 02:00:59 2011 +0200 +++ b/browser_side/panels.py Sun May 22 00:15:01 2011 +0200 @@ -147,6 +147,8 @@ _new_panel.historyPrint() elif item_type=="CONTACT_TITLE": _new_panel = MicroblogPanel(self.host, accept_all=True) + else: + return self.host.mpanels.remove(self) self.host.mpanels.append(_new_panel) grid = self.getParent()