Skip to content
  • Nate Graham's avatar
    [applets/batterymonitor] Collapse inhibitions list properly · ce6a0ec0
    Nate Graham authored
    Summary:
    I probably introduced the issue fixed here with D29315, sorry. This patch makes the
    parent layout invisible when all of its children are invisible, so it doesn't keep
    taking up some vertical space after a previously-visible inhibition goes away.
    
    Test Plan: When an inhibition goes away, it once again looks like it should: {F8288112}
    
    Reviewers: #plasma, broulik
    
    Reviewed By: #plasma, broulik
    
    Subscribers: plasma-devel
    
    Tags: #plasma
    
    Differential Revision: https://phabricator.kde.org/D29467
    ce6a0ec0