def __init__(self, rom, config): self.rom = rom self.stringeditor = StringEditorController(rom) self.mainview = MainView(self, self.stringeditor)