Skip to content

Commit

Permalink
update format
Browse files Browse the repository at this point in the history
  • Loading branch information
Danbr4d committed Jan 27, 2025
1 parent 826a789 commit d55dad5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/modules/tr/gui/trWidgetFuncs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,14 @@ void TRModuleWidget::updateControls(const Flags<ModuleWidget::UpdateFlags> &upda
}
else if (ui_.BroadTotalButton->isChecked())
{
trGraph_->createRenderable<RenderableData1D>(fmt::format("{}//BroadenedTR//Total", module_->name()), "Total T(R)",
trGraph_->createRenderable<RenderableData1D>(std::format("{}//BroadenedTR//Total", module_->name()), "Total T(R)",
"Calculated");
auto boundTotal = trGraph_->createRenderable<RenderableData1D>(
fmt::format("{}//BroadenedTR//BoundTotal", module_->name()), "Bound T(R)", "Calculated");
std::format("{}//BroadenedTR//BoundTotal", module_->name()), "Bound T(R)", "Calculated");
boundTotal->setColour(StockColours::GreenStockColour);
boundTotal->lineStyle().setStipple(LineStipple::DotStipple);
auto unboundTotal = trGraph_->createRenderable<RenderableData1D>(
fmt::format("{}//BroadenedTR//UnboundTotal", module_->name()), "Unbound T(R)", "Calculated");
std::format("{}//BroadenedTR//UnboundTotal", module_->name()), "Unbound T(R)", "Calculated");
unboundTotal->setColour(StockColours::GreenStockColour);
unboundTotal->lineStyle().setStipple(LineStipple::HalfDashStipple);
}
Expand Down

0 comments on commit d55dad5

Please sign in to comment.