605 @type str (optional) |
605 @type str (optional) |
606 """ |
606 """ |
607 if dataKey is None: |
607 if dataKey is None: |
608 self.__pdata.update(data) |
608 self.__pdata.update(data) |
609 else: |
609 else: |
|
610 if self.__pdata[dataKey] == data: |
|
611 self.setDirty(True) |
610 self.__pdata[dataKey] = data |
612 self.__pdata[dataKey] = data |
611 self.setDirty(True) |
|
612 |
613 |
613 def getData(self, category, key): |
614 def getData(self, category, key): |
614 """ |
615 """ |
615 Public method to get data out of the project data store. |
616 Public method to get data out of the project data store. |
616 |
617 |