def setSaved(self, _state, _dbIdx=-1):
        self.initial= False

        if _dbIdx<0: #set all
            for _dbIdx in self.parentDb.dbA:
                self.setSavedDb(_state, _dbIdx)

        else:
            self.setSavedDb(_state, _dbIdx)


        self.shadowCast()
dataset/ETHPy150Open NikolayRag/typeTodo/task.py/TodoTask.setSaved/original