increased the number of decimals for shutterspeed in the dynamic profile editor

This commit is contained in:
Alberto Griggio
2017-03-03 16:27:13 +01:00
parent f67d903550
commit b3f75398c5
2 changed files with 3 additions and 2 deletions

View File

@@ -30,7 +30,6 @@ namespace {
const int ISO_MAX = 512000;
const double FNUMBER_MAX = 100.0;
const double FOCALLEN_MAX = 10000.0;
const double SHUTTERSPEED_MIN = 1.0/10000.0;
const double SHUTTERSPEED_MAX = 1000.0;
const double EXPCOMP_MIN = -20.0;
const double EXPCOMP_MAX = 20.0;
@@ -59,7 +58,7 @@ DynamicProfileEntry::DynamicProfileEntry():
iso(0, ISO_MAX),
fnumber(0, FNUMBER_MAX),
focallen(0, FOCALLEN_MAX),
shutterspeed(SHUTTERSPEED_MIN, SHUTTERSPEED_MAX),
shutterspeed(0, SHUTTERSPEED_MAX),
expcomp(EXPCOMP_MIN, EXPCOMP_MAX)
{
}

View File

@@ -158,6 +158,8 @@ void DynamicProfilePanel::EditDialog::set_ranges()
DOIT_(shutterspeed);
DOIT_(expcomp);
#undef DOIT_
shutterspeed_min_->set_digits(4);
shutterspeed_max_->set_digits(4);
profilepath_->setInternalEntry();
}