"Packages to be held back" is still shown #2

Closed
tsimonq2 wants to merge 3 commits from tsimonq2/null-packages-fix into ubuntu/noble

3 Commits

Author SHA1 Message Date
Simon Quigley
45e3835a55 If there are no packages to consider, do not go further 2024-01-25 13:55:55 -06:00
Simon Quigley
cae134166b Instead of calling the count() method every time, assign to a variable
It's just a little cleaner to read this way
2024-01-25 13:53:29 -06:00
Simon Quigley
8cebb36a9c Invoke setEnabled less, which will help with resource usage
It is slightly more resource efficient to create a local bool, update that one-way flag when needed, and then setEnabled based on the content of that bool, than it would be to call that method every time.
2024-01-25 13:40:20 -06:00