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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user