Focus contents of various pages when user switches to their tabs

This commit is contained in:
DarkPhoenix
2019-04-24 09:02:28 +03:00
parent d35bf6514f
commit 71aa557770
8 changed files with 14 additions and 10 deletions

View File

@@ -35,7 +35,7 @@ class AddToCargo(ContextMenuSingle):
typeID = int(mainItem.ID)
command = cmd.GuiAddCargoCommand(fitID=fitID, itemID=typeID, amount=1)
if self.mainFrame.command.Submit(command):
self.mainFrame.additionsPane.select("Cargo")
self.mainFrame.additionsPane.select("Cargo", focus=False)
AddToCargo.register()