diff --git a/VinOutlineKit/Sources/VinOutlineKit/Commands/GroupCommand.swift b/VinOutlineKit/Sources/VinOutlineKit/Commands/GroupRowsCommand.swift similarity index 95% rename from VinOutlineKit/Sources/VinOutlineKit/Commands/GroupCommand.swift rename to VinOutlineKit/Sources/VinOutlineKit/Commands/GroupRowsCommand.swift index 1a448b77..36dc0216 100644 --- a/VinOutlineKit/Sources/VinOutlineKit/Commands/GroupCommand.swift +++ b/VinOutlineKit/Sources/VinOutlineKit/Commands/GroupRowsCommand.swift @@ -4,7 +4,7 @@ import Foundation -public final class GroupCommand: OutlineCommand { +public final class GroupRowsCommand: OutlineCommand { var newRow: Row var rows: [Row] diff --git a/Zavala/Editor/EditorViewController.swift b/Zavala/Editor/EditorViewController.swift index bd271bf7..506eef3d 100644 --- a/Zavala/Editor/EditorViewController.swift +++ b/Zavala/Editor/EditorViewController.swift @@ -3479,12 +3479,12 @@ private extension EditorViewController { func groupRows(_ rows: [Row], rowStrings: RowStrings? = nil) { guard let undoManager, let outline else { return } - let command = GroupCommand(actionName: .groupRowsControlLabel, - undoManager: undoManager, - delegate: self, - outline: outline, - rows: rows, - rowStrings: rowStrings) + let command = GroupRowsCommand(actionName: .groupRowsControlLabel, + undoManager: undoManager, + delegate: self, + outline: outline, + rows: rows, + rowStrings: rowStrings) command.execute() }