Only mark the service as changed if it has changed

Fixes: https://launchpad.net/bugs/795890
This commit is contained in:
Tim Bentley 2011-06-11 12:22:40 +01:00
parent 6bc529f730
commit 0c549e33e5

View File

@ -1086,7 +1086,7 @@ class ServiceManager(QtGui.QWidget):
self.repaintServiceList(itemcount + 1, 0) self.repaintServiceList(itemcount + 1, 0)
self.mainwindow.liveController.replaceServiceManagerItem( self.mainwindow.liveController.replaceServiceManagerItem(
newItem) newItem)
self.setModified() self.setModified()
def addServiceItem(self, item, rebuild=False, expand=None, replace=False, def addServiceItem(self, item, rebuild=False, expand=None, replace=False,
repaint=True, selected=False): repaint=True, selected=False):