+ fixes #0000854: Ability to change number of digits to the right of decimal place in spinboxes

This commit is contained in:
wmayer
2014-02-16 18:02:09 +01:00
parent 2d511524ac
commit fb994e204c
22 changed files with 97 additions and 13 deletions

View File

@@ -30,6 +30,7 @@
#include "ui_TaskScaledParameters.h"
#include "TaskScaledParameters.h"
#include "TaskMultiTransformParameters.h"
#include <Base/UnitsApi.h>
#include <App/Application.h>
#include <App/Document.h>
#include <Gui/Application.h>
@@ -113,6 +114,7 @@ void TaskScaledParameters::setupUI()
ui->spinFactor->setEnabled(true);
ui->spinOccurrences->setEnabled(true);
ui->spinFactor->setDecimals(Base::UnitsApi::getDecimals());
updateUI();
}