Focus contents of various pages when user switches to their tabs
This commit is contained in:
@@ -49,6 +49,7 @@ class ResourcesViewFull(StatsView):
|
||||
self.toggleContext("fighter")
|
||||
else:
|
||||
self.toggleContext("drone")
|
||||
event.Skip()
|
||||
|
||||
def toggleContext(self, context):
|
||||
# Apparently you cannot .Hide(True) on a Window, otherwise I would just .Hide(context !== x).
|
||||
|
||||
Reference in New Issue
Block a user