Various changes in Locallab GUI

- Modified some Locallab tool default parameters
- Updates some labels
- Expanders visibility state is now kept when using history
- New added tool has now its visibily state resetted to default one
- Code cleanup
This commit is contained in:
Pandagrapher
2020-05-06 13:14:54 +02:00
parent 65c008aea7
commit aa41870346
7 changed files with 997 additions and 958 deletions

View File

@@ -629,6 +629,9 @@ void ToolPanelCoordinator::profileChange(
if (event == rtengine::EvPhotoLoaded || event == rtengine::EvProfileChanged) {
toolPanel->autoOpenCurve();
// For Locallab, reset tool expanders visibility only when a photo or profile is loaded
locallab->openAllTools();
}
}
@@ -1206,4 +1209,4 @@ bool ToolPanelCoordinator::getFilmNegativeExponents(rtengine::Coord spotA, rteng
bool ToolPanelCoordinator::getRawSpotValues(rtengine::Coord spot, int spotSize, std::array<float, 3>& rawValues)
{
return ipc && ipc->getRawSpotValues(spot.x, spot.y, spotSize, rawValues);
}
}