Fixes #3968, Wavelet tool does not remember the status of its subtools
This commit is contained in:
@@ -3040,7 +3040,7 @@ void Wavelet::writeOptions(std::vector<int> &tpOpen)
|
|||||||
|
|
||||||
void Wavelet::updateToolState(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));
|
expsettings->set_expanded(tpOpen.at(0));
|
||||||
expcontrast->set_expanded(tpOpen.at(1));
|
expcontrast->set_expanded(tpOpen.at(1));
|
||||||
expchroma->set_expanded(tpOpen.at(2));
|
expchroma->set_expanded(tpOpen.at(2));
|
||||||
|
Reference in New Issue
Block a user