+ use quantity box in image orientation dialog

This commit is contained in:
wmayer
2016-02-27 15:10:31 +01:00
parent 08cd9fe299
commit 38f0d6e3d7
2 changed files with 12 additions and 4 deletions

View File

@@ -30,6 +30,7 @@
#include <Gui/BitmapFactory.h>
#include <Gui/MainWindow.h>
#include <Base/Tools.h>
#include <Base/UnitsApi.h>
#include "ui_ImageOrientationDialog.h"
#include "ImageOrientationDialog.h"
@@ -55,7 +56,7 @@ ImageOrientationDialog::~ImageOrientationDialog()
void ImageOrientationDialog::accept()
{
double offset = ui->Offset_doubleSpinBox->value();
double offset = ui->Offset_doubleSpinBox->value().getValue();
bool reverse = ui->Reverse_checkBox->isChecked();
if (ui->XY_radioButton->isChecked()) {
if (reverse) {