Fixes #3968, Wavelet tool does not remember the status of its subtools

This commit is contained in:
heckflosse
2017-07-13 23:47:26 +02:00
parent ded8c66fcd
commit 997bd3c51d

View File

@@ -3040,7 +3040,7 @@ void Wavelet::writeOptions(std::vector<int> &tpOpen)
void Wavelet::updateToolState(std::vector<int> &tpOpen)
{
if(tpOpen.size() == 9) {
if(tpOpen.size() >= 9) {
expsettings->set_expanded(tpOpen.at(0));
expcontrast->set_expanded(tpOpen.at(1));
expchroma->set_expanded(tpOpen.at(2));