aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 421f33220..9ae4fb59a 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -4964,7 +4964,7 @@ void Editor::Duplicate(bool forLine) {
if (sel.Empty()) {
forLine = true;
}
- UndoGroup ug(pdoc, sel.Count() > 1);
+ UndoGroup ug(pdoc);
const char *eol = "";
int eolLen = 0;
if (forLine) {