Collapse all tools on first start (fixes #4776)
I had to remove the `isVisible` check in `MyExpander::set_expanded()` because it would trigger in Wavelet and Retinex for unknown reasons. One inner expander in CIECAM isn't covered by the tool states, and the way they are distributed to Wavelet and Retinex won't allow for further tool states in those tools. We should consider to move the tool states for sub-tools (like Wavelet, Retinex, and CIECAM) to seperate keys in the `options` file.
This commit is contained in:
@@ -826,12 +826,6 @@ void MyExpander::set_expanded( bool expanded )
|
||||
return;
|
||||
}
|
||||
|
||||
bool isVisible = expBox->is_visible();
|
||||
|
||||
if (isVisible == expanded) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!useEnabled) {
|
||||
if (expanded ) {
|
||||
statusImage->set(openedImage->get_surface());
|
||||
|
Reference in New Issue
Block a user