def initConfig(self): self.recent = config.recent() self.dirty = [] if(config.files() != None): if(len(config.files()) != 0): for i in config.files(): self.createTab(i)
def initConfig(self): self.projects = config.projects() self.recent = config.recent() self.dirty = [] if config.files() != None: for i in config.files(): self.createTab(i) self.tabWidget.tabCloseRequested.connect(self.closeTab) self.treeWidget.itemDoubleClicked.connect(self.ss)