Skip to content

Commit

Permalink
Closes #86 (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
scharlton2 authored Feb 5, 2023
1 parent 9087218 commit 5cc4c29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions QModelViewer/cropdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ CropDialog::CropDialog(QWidget* parent, MvDoc* doc)
{
ui->doubleSpinBoxYMax->setMinimum(val);
}
doc->crop(mYMin, mYMax, mYMin, mYMax, mZMin, mZMax, mCropAngle);
doc->crop(mXMin, mXMax, mYMin, mYMax, mZMin, mZMax, mCropAngle);
});
connect(ui->doubleSpinBoxYMax, QOverload<double>::of(&QDoubleSpinBox::valueChanged),
[=](double val) {
Expand Down Expand Up @@ -127,7 +127,7 @@ CropDialog::CropDialog(QWidget* parent, MvDoc* doc)
{
ui->doubleSpinBoxZMax->setMinimum(val);
}
doc->crop(mZMin, mZMax, mYMin, mYMax, mZMin, mZMax, mCropAngle);
doc->crop(mXMin, mXMax, mYMin, mYMax, mZMin, mZMax, mCropAngle);
});
connect(ui->doubleSpinBoxZMax, QOverload<double>::of(&QDoubleSpinBox::valueChanged),
[=](double val) {
Expand Down

0 comments on commit 5cc4c29

Please sign in to comment.