vivasmaq / endgame-singularity

Automatically exported from code.google.com/p/endgame-singularity
0 stars 0 forks source link

Knowledge tabs not updated until you change tabs #85

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to the knowledge screen, look at the contents of the techs tab
2. Research something
3. Go back to knowledge screen

What is the expected output? What do you see instead?

There are no new entries to reflect your current research. If you switch to
items or concepts and then switch back the list is updated. That should not
be required.

This bug exists in both 0.30 and current SVN.

What version of the product are you using? On what operating system?

SVN r944, Gentoo Linux

Original issue reported on code.google.com by captains...@gmail.com on 23 May 2009 at 11:30

GoogleCodeExporter commented 9 years ago
From Funnyman's post to singularity-dev:

> The file you're looking for will be code/screens/knowledge.py.  You'll
> probably want to add a show method (called whenever a dialog is
> shown), for which the basic form is this:

> def show(self):
>     # Set up anything special here.
>     # Preserve standard Dialog behavior. (visibility, close properly, etc.)
>     return super(KnowledgeScreen, self).show() 

Original comment by justap...@gmail.com on 29 Oct 2009 at 12:24

GoogleCodeExporter commented 9 years ago

Original comment by justap...@gmail.com on 31 Oct 2009 at 5:02

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in git commit d3df694075, and already published in v0.30c

Original comment by singular...@rodrigosilva.com on 20 Dec 2012 at 2:52