Exemplo n.º 1
0
    def AddFileToHistory(self, filename):
        if os.path.splitext(filename)[1].lower() != ".pfs":
            return

        fileList = Settings().GetFileHistory()
        if filename in fileList:
            fileList.remove(filename)
        fileList.insert(0, filename)
        Settings().SetFileHistory(fileList)
Exemplo n.º 2
0
 def AddFileToHistory(self, filename):
     fileList = Settings().GetFileHistory()
     if filename in fileList:
         fileList.remove(filename)
     fileList.insert(0, filename)
     Settings().SetFileHistory(fileList)
Exemplo n.º 3
0
 def AddFileToHistory(self, filename):
     fileList = Settings().GetFileHistory()
     if filename in fileList:
         fileList.remove(filename)
     fileList.insert(0, filename)
     Settings().SetFileHistory(fileList)