[python] Remove trailing whitespaces

This commit is contained in:
Nils Landrodie 2021-08-09 20:33:39 +02:00 committed by Fabien Castan
parent e43e78d1bc
commit db299d49ee

View file

@ -476,14 +476,14 @@ class UIGraph(QObject):
GroupedGraphModification: the instantiated context manager
"""
return commands.GroupedGraphModification(self._graph, self._undoStack, title, disableUpdates)
@Slot(str)
def beginModification(self, name):
""" Begin a Graph modification. Calls to beginModification and endModification may be nested, but
every call to beginModification must have a matching call to endModification. """
self._modificationCount += 1
self._undoStack.beginMacro(name)
@Slot()
def endModification(self):
""" Ends a Graph modification. Must match a call to beginModification. """