Reload button bug in later nightlies

I have noticed that in the last nightly when I press the reload button it creates extra space between Help & Acknowledgment and the Reload & Test regions. This is valid for all plugins, so it is not plugin specific.
each time the Reload is pressed a new “line” is added.

My system is MacOS 10.14.6, latest homebrew slicer-nightly package. This behavior was not been seen in the august package.

I’ve noticed that too - it’s kind of annoying - would be great of someone could look into fixing it.

I won’t be able to debug this, as the issue does not occur on Windows. @pieper, could you have a look?

Yes, when I get annoyed enough :wink:

1 Like

This has come up on my computer, too. I’ve fixed it in rev28526.

The issue was that some QLayoutItems got evaluated as (False) and the loop that supposed to remove all the items stopped at that point. Now all items are retrieved by index first, so we don’t need to evaluate them as Boolean.