Skip to content

Commit

Permalink
Fixes Brewtarget#177: first wort hop adjustment 100x too high
Browse files Browse the repository at this point in the history
  • Loading branch information
rocketman768 committed Feb 10, 2016
1 parent 3e1e04a commit 4075664
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/OptionDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -501,10 +501,10 @@ void OptionDialog::showChanges()
lineEdit_dbDir->setText(Brewtarget::getUserDataDir());

// The IBU modifications. These will all be calculated from a 60 min boil. This is gonna get confusing.
double amt = Brewtarget::toDouble(Brewtarget::option("mashHopAdjustment",100).toString(), "OptionDialog::showChanges()");
double amt = Brewtarget::toDouble(Brewtarget::option("mashHopAdjustment",1).toString(), "OptionDialog::showChanges()");
lineEdit_mashHop->setText(amt*100);

amt = Brewtarget::toDouble(Brewtarget::option("firstWortHopAdjustment",100).toString(), "OptionDialog::showChanges()");
amt = Brewtarget::toDouble(Brewtarget::option("firstWortHopAdjustment",1).toString(), "OptionDialog::showChanges()");
lineEdit_firstWort->setText(amt*100);

}
Expand Down

0 comments on commit 4075664

Please sign in to comment.