Fixes #3969, Retinex tool does not remember the status of its settings subtool
This commit is contained in:
parent
997bd3c51d
commit
0e01162318
@ -657,7 +657,7 @@ void Retinex::writeOptions (std::vector<int> &tpOpen)
|
|||||||
|
|
||||||
void Retinex::updateToolState (std::vector<int> &tpOpen)
|
void Retinex::updateToolState (std::vector<int> &tpOpen)
|
||||||
{
|
{
|
||||||
if (tpOpen.size() == 10) {
|
if (tpOpen.size() >= 10) {
|
||||||
expsettings->set_expanded (tpOpen.at (9));
|
expsettings->set_expanded (tpOpen.at (9));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -583,6 +583,7 @@ void ToolPanelCoordinator::updateToolState()
|
|||||||
|
|
||||||
wavelet->updateToolState(temp);
|
wavelet->updateToolState(temp);
|
||||||
wavelet->setExpanded(true);
|
wavelet->setExpanded(true);
|
||||||
|
retinex->updateToolState(temp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user