File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
modules/yup_data_model/tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -411,7 +411,7 @@ class CompoundAction : public UndoableAction
411411
412412 bool isValid () const override
413413 {
414- return dataTree.object != nullptr && !individualActions.empty ();
414+ return dataTree.object != nullptr && ! individualActions.empty ();
415415 }
416416
417417 bool perform (UndoableActionState state) override
@@ -1270,7 +1270,7 @@ void DataTree::Transaction::commit()
12701270 }
12711271 }
12721272 }
1273-
1273+
12741274 // Create child actions that capture current state
12751275 for (const auto & change : childChanges)
12761276 {
@@ -1301,9 +1301,9 @@ void DataTree::Transaction::commit()
13011301 }
13021302 }
13031303 }
1304-
1304+
13051305 // If we have undo manager, use compound action for undo/redo
1306- if (undoManager != nullptr && !actions.empty ())
1306+ if (undoManager != nullptr && ! actions.empty ())
13071307 {
13081308 undoManager->perform (new CompoundAction (dataTree, std::move (actions)));
13091309 }
You can’t perform that action at this time.
0 commit comments