Fix merge issues

Adapt tone equalizer to favorites tab changes.
This commit is contained in:
Lawrence Lee
2023-02-06 21:44:57 -08:00
parent f236a7edb7
commit 12ef477a6d
5 changed files with 14 additions and 1 deletions

View File

@@ -44,6 +44,9 @@ const std::vector<ToolTree> EXPOSURE_PANEL_TOOLS = {
{
.id = Tool::SHADOWS_HIGHLIGHTS,
},
{
.id = Tool::TONE_EQUALIZER,
},
{
.id = Tool::EPD,
},
@@ -562,6 +565,8 @@ std::string ToolPanelCoordinator::getToolName(Tool tool)
return ToneCurve::TOOL_NAME;
case Tool::SHADOWS_HIGHLIGHTS:
return ShadowsHighlights::TOOL_NAME;
case Tool::TONE_EQUALIZER:
return ToneEqualizer::TOOL_NAME;
case Tool::IMPULSE_DENOISE:
return ImpulseDenoise::TOOL_NAME;
case Tool::DEFRINGE_TOOL:
@@ -1908,6 +1913,8 @@ FoldableToolPanel *ToolPanelCoordinator::getFoldableToolPanel(Tool tool) const
return toneCurve;
case Tool::SHADOWS_HIGHLIGHTS:
return shadowshighlights;
case Tool::TONE_EQUALIZER:
return toneEqualizer;
case Tool::IMPULSE_DENOISE:
return impulsedenoise;
case Tool::DEFRINGE_TOOL: