mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 16:20:52 +01:00
Les modifications de points sur les polygones sont desormais annulables
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@106 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -48,7 +48,7 @@ void PolygonEditor::updatePolygonPoints() {
|
||||
);
|
||||
return;
|
||||
}
|
||||
part -> setPolygon(points);
|
||||
undoStack().push(new ChangePolygonPointsCommand(part, part -> polygon(), points));
|
||||
}
|
||||
|
||||
void PolygonEditor::updatePolygonClosedState() {
|
||||
@@ -61,7 +61,6 @@ void PolygonEditor::updatePolygonClosedState() {
|
||||
QVariant(close_polygon.isChecked())
|
||||
)
|
||||
);
|
||||
// part -> setClosed(close_polygon.isChecked());
|
||||
}
|
||||
|
||||
void PolygonEditor::updateForm() {
|
||||
|
||||
Reference in New Issue
Block a user