Fixes #3969, Retinex tool does not remember the status of its settings subtool

This commit is contained in:
heckflosse 2017-07-14 00:02:53 +02:00
parent 997bd3c51d
commit 0e01162318
2 changed files with 2 additions and 1 deletions

View File

@ -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));
} }
} }

View File

@ -583,6 +583,7 @@ void ToolPanelCoordinator::updateToolState()
wavelet->updateToolState(temp); wavelet->updateToolState(temp);
wavelet->setExpanded(true); wavelet->setExpanded(true);
retinex->updateToolState(temp);
} }
} }