summaryrefslogtreecommitdiff
path: root/tikzit/src/gtk/TikzDocument.m
diff options
context:
space:
mode:
Diffstat (limited to 'tikzit/src/gtk/TikzDocument.m')
-rw-r--r--tikzit/src/gtk/TikzDocument.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/tikzit/src/gtk/TikzDocument.m b/tikzit/src/gtk/TikzDocument.m
index 86b8afb..6e013b1 100644
--- a/tikzit/src/gtk/TikzDocument.m
+++ b/tikzit/src/gtk/TikzDocument.m
@@ -276,15 +276,15 @@
return NO;
}
-- (Graph*) cutSelection {
- Graph *selection = [self copySelection];
+- (Graph*) selectionCut {
+ Graph *selection = [self selectionCopy];
[self startUndoGroup];
[self removeSelected];
[self nameAndEndUndoGroup:@"Cut"];
return selection;
}
-- (Graph*) copySelection {
+- (Graph*) selectionCopy {
return [[graph copyOfSubgraphWithNodes:[pickSupport selectedNodes]] autorelease];
}