Replace Adjuster::delay by Adjuster::setDelay()

This commit is contained in:
Flössie
2020-08-02 11:20:10 +02:00
parent d4807891f0
commit b7738afe22
20 changed files with 117 additions and 251 deletions

View File

@@ -33,9 +33,7 @@ RAWExposure::RAWExposure () : FoldableToolPanel(this, "rawexposure", M("TP_EXPOS
PexPos = Gtk::manage(new Adjuster (M("TP_RAWEXPOS_LINEAR"), 0.1, 16.0, 0.01, 1));
PexPos->setAdjusterListener (this);
if (PexPos->delay < options.adjusterMaxDelay) {
PexPos->delay = options.adjusterMaxDelay;
}
PexPos->setDelay(std::max(options.adjusterMinDelay, options.adjusterMaxDelay));
PexPos->show();
pack_start( *PexPos, Gtk::PACK_SHRINK, 4);//exposi