diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-02-01 20:34:06 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-02-01 20:34:06 (GMT) |
commit | 89aa01f23e3f89c0d72d4e6d7d82b9c656e1ff30 (patch) | |
tree | 37b1eef98620a54c363153ee4ea8b6a007fb390a /activity.py | |
parent | 54307b100fe9ce4f313f7cac7e1ad4298ba9e41b (diff) |
Fix notebook insertions while switching between toolbars
Diffstat (limited to 'activity.py')
-rw-r--r-- | activity.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activity.py b/activity.py index 407e6c4..38b4270 100644 --- a/activity.py +++ b/activity.py @@ -188,9 +188,9 @@ class MemorizeActivity(Activity): if self.play_mode == False: self.hbox.remove(self.createcardpanel) self.hbox.remove(self.cardlist) - - self.hbox.pack_start(self.scoreboard) - self.hbox.pack_start(self.table, False) + if self.play_mode in (False, None): + self.hbox.pack_start(self.scoreboard) + self.hbox.pack_start(self.table, False) self.play_mode = True def restart(self, widget): |