Project/Project.py

changeset 5555
5ece4e830780
parent 5533
3c908e3b6e5c
child 5587
ea526b78ee6c
equal deleted inserted replaced
5554:c477ae02bf5f 5555:5ece4e830780
4191 """ 4191 """
4192 Public method to clear the recent projects menu. 4192 Public method to clear the recent projects menu.
4193 """ 4193 """
4194 self.recent = [] 4194 self.recent = []
4195 self.__saveRecent() 4195 self.__saveRecent()
4196 4196
4197 def clearHistories(self):
4198 """
4199 Public method to clear the project related histories.
4200 """
4201 self.clearRecent()
4202
4203 for key in ["DebugClientsHistory", "DebuggerInterpreterHistory"]:
4204 Preferences.setProject(key, [])
4205 Preferences.syncPreferences()
4206
4197 def __searchNewFiles(self): 4207 def __searchNewFiles(self):
4198 """ 4208 """
4199 Private slot used to handle the search new files action. 4209 Private slot used to handle the search new files action.
4200 """ 4210 """
4201 self.__doSearchNewFiles(False, True) 4211 self.__doSearchNewFiles(False, True)

eric ide

mercurial