Fix undo problems with cross and drag visual tools.

Originally committed to SVN as r4388.
This commit is contained in:
Thomas Goyne 2010-06-01 03:21:25 +00:00
parent da6c47c20b
commit ac42fcda5d
2 changed files with 2 additions and 2 deletions

View file

@ -79,7 +79,7 @@ void VisualToolCross::Update() {
SetOverride(line, L"\\pos", wxString::Format(L"(%i,%i)", x1 - dx, y1 - dy));
}
Commit(false, _("positioning"));
Commit(true, _("positioning"));
}
/// @brief Draw

View file

@ -356,7 +356,7 @@ void VisualToolDrag::Update() {
}
}
Commit(false, _("positioning"));
Commit(true, _("positioning"));
GenerateFeatures();
}