--- a/src/dialogs/circularprimitiveeditor.cpp Tue Jun 19 22:45:10 2018 +0300 +++ b/src/dialogs/circularprimitiveeditor.cpp Tue Jun 19 23:18:58 2018 +0300 @@ -120,6 +120,11 @@ this->primitive->setTransformationMatrix(newMatrix); } ); + connect(ui.inverted, &QCheckBox::clicked, [&](bool checked) + { + if (this->primitive) + this->primitive->setInverted(checked); + }); // Connect the reset button, "reset button" here meaning any button with the reset role. connect( ui.buttonBox, @@ -176,6 +181,7 @@ }); withSignalsBlocked(ui.color, [&](){ ui.color->setColor(primitive->color()); }); withSignalsBlocked(ui.matrix, [&](){ ui.matrix->setMatrix(primitive->transformationMatrix()); }); + withSignalsBlocked(ui.inverted, [&](){ ui.inverted->setChecked(primitive->isInverted()); }); } }