Skip to content

Commit

Permalink
fixes #2 - Color range wrongly updated after style change
Browse files Browse the repository at this point in the history
  • Loading branch information
theophae committed Apr 26, 2015
1 parent d23b7bf commit 6ea8129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MainWindow.cpp
Expand Up @@ -895,7 +895,7 @@ void MainWindow::updateRecipeStyle()

styleRangeWidget_abv->setPreferredRange(selected->abvMin_pct(), selected->abvMax_pct());
styleRangeWidget_ibu->setPreferredRange(selected->ibuMin(), selected->ibuMax());
styleRangeWidget_srm->setPreferredRange(selected->colorMin_srm(), selected->colorMax_srm());
styleRangeWidget_srm->setPreferredRange(Brewtarget::displayRange(selected, tab_recipe, "color_srm", Brewtarget::COLOR));
}
}

Expand Down

0 comments on commit 6ea8129

Please sign in to comment.